apidocs

UpdateWorkflowStepDef API

Updates the display name and on-start folder move of an existing workflow step definition.

Endpoint

/srv.asmx/UpdateWorkflowStepDef

Methods

Parameters

Parameter Type Required Description
authenticationTicket string Yes Authentication ticket obtained from AuthenticateUser.
domainName string Yes Name of the domain/library that owns the workflow definition.
workflowName string Yes Name of the workflow definition containing the step to update.
stepNumber integer Yes 1-based number of the step to update.
newStepName string Yes New display name for the step.
onStartMoveToFolderPath string No Full infoRouter folder path where documents are automatically moved when this step starts. Pass an empty string to remove the on-start folder move.

Response

Success Response

<root success="true" />

Error Response

<root success="false" error="Error message" />

Required Permissions

Requires workflow supervisor, domain/library manager, or system administrator role.

The workflow definition must be inactive before it can be modified. Use DeactivateFlowDef first if the workflow is currently active.

Example

Request (POST)

POST /srv.asmx/UpdateWorkflowStepDef HTTP/1.1
Content-Type: application/x-www-form-urlencoded

authenticationTicket=abc123&domainName=Corporate&workflowName=ContractApproval&stepNumber=2&newStepName=LegalReview&onStartMoveToFolderPath=/Corporate/InReview

Request (GET)

GET /srv.asmx/UpdateWorkflowStepDef
    ?authenticationTicket=abc123
    &domainName=Corporate
    &workflowName=ContractApproval
    &stepNumber=2
    &newStepName=LegalReview
    &onStartMoveToFolderPath=/Corporate/InReview
HTTP/1.1
Host: yourserver

Notes

Error Codes

Error Description
[900] Authentication failed — invalid credentials.
[901] Session expired or invalid authentication ticket.
Workflow not found No workflow definition matching domainName and workflowName exists.
Step not found No step with the specified stepNumber exists in the workflow.
Folder not found The path supplied for onStartMoveToFolderPath does not exist.