Advancing to next task prematurely

1
0
-1

Hi,

In my process, I have instances where I need to wait for a connector or subprocess to finish before advancing to the next task. However, if the connector or subprocess takes too long, the workflow seems to advance to the next step without waiting for it to finish, resulting in problems. Is there any way to ensure that all aspects of a task complete before moving forward?

Thanks,

Jeff Stanislaw

Comments

Submitted by haris.subasic on Tue, 04/29/2014 - 10:02

Hello Jeff, are you using a call activity to call your subprocess? In that case, your main process should not advance before the subprocess is completed. Maybe you could share a screenshot with us? You might want to use message events, as well, throw message to start another process and catch message to catch a message that would be sent when the other process ends.

Submitted by jeff.stanislaw on Tue, 04/29/2014 - 21:56

Hi Haris,

I am using a Call Activity to call my subprocess.

Would I place the throw message and catch message on the transition between my task running the subprocess and the task following it?

Thanks!

Submitted by haris.subasic on Wed, 04/30/2014 - 10:54

Hi Jeff, I placed a screenshot of a process design here . In such a case, your main process would not continue to the Step3 until the subprocess is finished. This is the expected behaviour. Could you share your design, so we can see what's wrong? Otherwise, synchronizing with messages would be done like shown on this screenshot . Hope this helps, Haris

Submitted by jeff.stanislaw on Fri, 06/13/2014 - 17:25

Hi Haris,

Sorry for the delay in response. I've attached a screenshot of the relevant part of my main process and my subprocess here: http://imgur.com/a/ce1sU

In my main process, I am getting data from a list and incrementing a variable in the step labelled as "Set Creati..." in the image, then launching my subprocess in the "Create Workspace" step. Once all the entries in list have been processed, my process should proceed to "Display Selected Engagement" after the completion of my subprocess, which displays a success message and returns to an earlier step.

However, instead of displaying the success message in "Display Selected Engagement", the following message is often displayed: "No task available for this process" Despite this message appearing, my subprocess is being completed successfully.

Thank you for any assistance!

No answers yet.
Notifications