Process Definition for Changing Status when Tasks are Completed

I'm trying to figure out how to make a process definition keep actively checking whether or not a task is complete. Once two tasks are both complete, I want the Case status to change. Right now, this sequence is executing all at once and not continuing to check when the tasks are complete. What can I do to achieve this or do I need to do something completely different?

Also, I'm trying to have the entire process terminated if the Case status changes to a specific variable. However, I'm encountering the same problem where the process is executing all at once and not continuing to check for a variable change. Thanks for any help or insight!

Parents Reply
  • Casey Henry

    That's a tricky one... sometimes it will simply be the admin's preference. Because Business Rules are a standard BPMN element, there is a lot of documentation you can find outside of Sugar's support site by searching for "BPMN business rule." 

    I would consider these scenarios for using a rule:

    • The pd is already massively complex and you'd rather insert a simple business rule action than build out more functionality within the pd.
    • You have many process definitions that use the same logic and it would be easier to manage the logic from a central location (think of the rule as a style sheet that can be used by multiple process definitions).
    • You need to create a gateway element that has more than 4 potential outcomes. Scenarios that have a lot of if-this/then-thats are good candidates for a business rule.
Children
No Data