Example #1
0
 @Override
 public void syncProcessInstanceFound(final CMProcessInstance processInstance) {
   if (Log.WORKFLOW.isDebugEnabled()) {
     Log.WORKFLOW.debug(
         String.format(
             "Process instance %s found: updating card %s",
             processInstance.getProcessInstanceId(), processInstance.getCardId()));
   }
 }
Example #2
0
 @Override
 public void syncProcessInstanceNotFound(final CMProcessInstance processInstance) {
   if (Log.WORKFLOW.isInfoEnabled()) {
     Log.WORKFLOW.info(
         String.format(
             "Process instance %s not found: removing card %s",
             processInstance.getProcessInstanceId(), processInstance.getCardId()));
   }
 }