Autodesk Vault ProfessionalVault API

AddRouting Method

Autodesk.Connectivity.WebServicesChangeOrderService

Adds a new Routing.

Required Permissions

ChangeOrderRoutingCreate

Syntax

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 Routing

Parameters

NameDescription
workflowIdThe workflow that the routing applies to.
routingNameThe name of the Routing to be added.
reqAllApprovalFlag indicating that all of the associated Approvers are required to approve a change order.
membersArray 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.

See Also