Nathan_H_
4 years agoAccelerator I
Ad Workflow Process Path to Started Workflow
Good day all. Does anyone know how to add a path between two Activities when a workflow has already been started? I have a few changes that had Override Path selected, but no way to return to the p...
- 3 years ago
I finally figured out the solution to my problem with this. First I do a Nash search with the following AML, using the change number for the Workflow Process name.
<AML> <Item type='Workflow Process' action='get' select='keyed_name'> <name></name> <Relationships> <Item type='Workflow Process Activity' action='get' select='related_id'> <related_id> <Item type='Activity' action='get' select='name,keyed_name,id'> </Item> </related_id> </Item> </Relationships> </Item> </AML> Once I get the IDs for the activities that I want the path to go between, I use this AML to create the path.
- related_id = GOING TO activity ID
- source_id = COMING FROM activity ID
- permission_id = Activity
<AML> <Item type='Workflow Process Path' action='add'> <permission_id>46245093DDBE45109FEFBD5A4703AF2F</permission_id> <sort_order>0</sort_order> <related_id></related_id> <source_id></source_id> <name></name> </Item> </AML>