marahalh wrote:Is there a way to stop the task until value of variable become 'true' ..
I can't use a loop because I do not want a large load on the server.
How is the variable being set to 'true'? Another branch in the same case? Another case? An outside program that writes to the database?
Here is how you would do it if checking for a variable in the same case:
First, create a Report Table which exports the variable to a database table.
Second, create a second process that uses a loop with an intermediate timer event to periodically executes a trigger in a script task. The trigger will check all the cases for ones whose variable is 'true'. Then it will call PMFDerivateCase() to route on the cases.
The separate process will be similar to this one:
https://www.pmusers.com/index.php/Send_ ... is_overdue
But, it will use PMFDerivateCase() instead of PMFSendMessage() in the trigger.