AddRouting Method
Adds a new Routing.
Required Permissions
ChangeOrderRoutingCreateSyntax
public Routing AddRouting(
System.long workflowId,
System.string routingName,
System.bool reqAllApproval,
RoutingUserRoles[] members
)Public Function AddRouting( _
ByVal workflowId As System.Long, _
ByVal routingName As System.String, _
ByVal reqAllApproval As System.Boolean, _
ByVal members() As RoutingUserRoles _
) As RoutingParameters
| Name | Description |
|---|---|
| workflowId | The workflow that the routing applies to. |
| routingName | The name of the Routing to be added. |
| reqAllApproval | Flag indicating that all of the associated Approvers are required to approve a change order. |
| members | Array of members mapping their user ID and role IDs. |
Return Value
The newly created Routing object.
Remarks
Routing name must be unique in order for Routing to be successfully added.