Condition-based workflow branching - HxGN SDx - Update 63 - Administration & Configuration

Administration and Configuration of HxGN SDx

Language
English
Product
HxGN SDx
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10

Objects can branch to a certain step in a workflow based on a condition. The ConditionBasedBranch process step evaluates a condition against the object in the workflow and accepts or rejects accordingly. The user can pick any condition that uses OBJ (rather than obj1 and obj2, which are for relationship conditions). You can configure a condition specific to a customer’s work practice and branch the workflow based on that condition. The condition must make sense for the item going down the workflow.

To use condition-based workflow branching, create a new step class with the following:

  • Workflow step type - P

  • Process class name - ConditionBasedBranch,ConditionName. For example, ConditionBasedBranch,IsWORKING, which specifies that the document revision in the workflow must be in the WORKING state for the workflow to advance to the next success step. If the revision is not WORKING, the workflow will continue with the identified failure step. If the condition is not found or it does not parse correctly, a message is displayed, and the workflow is rejected back to the last workflow step.

Then, create a new step definition with the step class set to the condition-based step class you created.