Delay in job execution with async="true";

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2020 06:15 AM
I'm using activiti 6.0.0 when I'm trying to call service task with async="true" .. It's taking long time(5 minutes) to start the service task. This is happening only in case of application running in multiple instances scenario's (Load balancer).
<serviceTask id="PostProfileTask" name="PostProfileTask" activiti:class="UpdateProfileApi" activiti:async="true" activiti:inheritVariables="true">
<documentation>Post Profile</documentation>
</serviceTask>
Then I tried with exclusive = "false". It's same taking long time to start the job execution.
<serviceTask id="PostProfileTask" name="PostProfileTask" activiti:class="UpdateSubscriberProfileApi" activiti:async="true" activiti:exclusive="false" activiti:inheritVariables="true">
<documentation>Post Profile</documentation>
</serviceTask>
Any suggestions or advice on this?
Labels:
- Labels:
-
Alfresco Process Services
0 REPLIES 0
