Associate an Existing Workflow to a Workflow Event
- Last UpdatedJun 10, 2024
- 2 minute read
Associate an existing workflow to a workflow event. Only Workflows in draft status can be associated to an event.
To associate an Existing Workflow to a Workflow Event
-
In the Workflows tab, click Associate Existing to associate the existing workflow to a workflow event.
-
In the Title drop-down, select the workflow you want to associate.
-
Select the version number from the drop-down list adjacent to the Title drop-down list.
-
Enter the Description.
-
Click Save & Continue.
The associated process designer window appears.
The ArchestrA Context XML variable is now added to the workflow, if it is not added already.
You can use the Synchronize XML option to synchronize Event Context Parameters with the ArchestrAXMLData XML variable of the selected workflow.
-
Design: Select a workflow and click on Design menu to open the process designer for editing the workflow.
-
Remove Association: This will remove selected workflow’s association with the event. For deleting the same workflow, go to manage workflow and delete it.
-
Publish: This will publish the selected workflow.
-
UnPublish: This will unpublish the workflow and change the status of the workflow to draft.
The following operations take place for synchronization:
-
All newly added event context parameters in System Platform IDE are added to the XML variable in the Workflow.
-
All newly added nodes under AAParameters for the XML variable in Workflow are added to the Event context parameters in ArchestrA.
-
If any parameter/node is deleted, it will be ignored in the synchronize operation.
-
Only drafted versions of the workflows can be synchronized. If you want to synchronize a published version, go to manage workflow and unpublish it and then synchronize it.
Note: You have to manually map the parameter to the expression.