Branch node: Fork()
1) Command:
//fork a new Task 555 from task zzz
pmb.Fork( "zzz-code" , ActivityTypeEnum.TaskNode, "yyy" , "555" )
Parameters: (currentActivityCode, forkActivityType, forkActivityName, forkActivityCode)
Note: This method adds a branch path to the current node. If the current node has no subsequent nodes, it is equivalent to adding a new Add method. If the current node already has a subsequent node, add a new node at the adjacent position.
2) Graphical example after command execution: