10-17-2017 02:42 AM
Working on the requirement where depending upon the document status from the user task i am triggering mail on document sttaus pending or ending the flow when status is completed.After triggering the mail timer is triggered where it has to wait for certain time and then once again document status user task check will be performed.So the loop will continue till the status get completed.
I have implemented in spring boot where the timer is not waiting upon execution. Upon reading the documentation found that by using managementservice.execute is forces the timer to execute. Where as the timer which is actually a background process which is triggered and run in the background.Is there any way to execute the timer as background process which waits for a time interval.
As of now i have a work around where i am manually making it to sleep by calculating time interval from task start time and job due time.
Please find the source code along with bpm xml file as attchments.
10-21-2017 01:43 AM
Found solution, redesigning the flow where we have to use activiti components for our java implementation.
Attaching the bpm flow and from rest layer only need to instantiate the process instance to execute the flow, activiti API will take care of everything by itself.
10-21-2017 01:43 AM
Found solution, redesigning the flow where we have to use activiti components for our java implementation.
Attaching the bpm flow and from rest layer only need to instantiate the process instance to execute the flow, activiti API will take care of everything by itself.
Explore our Alfresco products with the links below. Use labels to filter content by product module.