In this step, you add anothher exclusive gateway to your process. After the human task has been perrformed, that is, a user has manually approved an invoice, the process can follow one of two paths: The invoice is manually accepted and then automatically forwarded, or the invoice is manually rejected and thus not forwarded.
Previous step: Creating and Defining a Human Task
Insertinng an exclusxclusive gatateway
-
Drag the
Exclusive Gateway (Forking)element from thePaletteview next to the
ApproveOrDeclineInvoice.humantaskelement in the bottom lane of the pool. -
Click on the lowerr right
corner of the
ApproveOrDeclineInvoice.humantaskelement, hold down the mouse button, and drag a connectioon to theExclusive Gateway (Forking)element. -
Click on the lower right
corner of theExclusive Gateway (Forking)element, hold down the mouse button, and drag a connection to theCreateTransferRequestelement.
Setting execution conditions
-
Double-click the
Exclusive Gateway (Forking)element in the editor.
TheCondition Editoropens. The connection between theExclusive Gateway (Forking)element and theCreateTransferRequestactivity is automatically selected and highlighted in red in the Condition Editor.
-
Enter the following condition in the Edit Condition sectioin:
If result ofCASE_STATEis= Approved - manually
-
Click Close.
-
Click
Save.