Deletes a step from the specified workflow definition. The workflow definition must be inactive to delete a step.
/srv.asmx/DeleteFlowStepDef
/srv.asmx/DeleteFlowStepDef?AuthenticationTicket=...&DomainName=...&FlowName=...&StepName=.../srv.asmx/DeleteFlowStepDef (form data)http://tempuri.org/DeleteFlowStepDef| Parameter | Type | Required | Description |
|---|---|---|---|
AuthenticationTicket |
string | Yes | Authentication ticket obtained from AuthenticateUser |
DomainName |
string | Yes | The domain/library name containing the workflow |
FlowName |
string | Yes | The workflow definition name |
StepName |
string | Yes | The name of the step to delete |
<response success="true" />
<response success="false" error="[ErrorCode] Error message" />
GET /srv.asmx/DeleteFlowStepDef?AuthenticationTicket=abc123-def456&DomainName=MyLibrary&FlowName=ApprovalFlow&StepName=ReviewStep HTTP/1.1
Host: server.example.com
POST /srv.asmx/DeleteFlowStepDef HTTP/1.1
Content-Type: application/x-www-form-urlencoded
AuthenticationTicket=abc123-def456&DomainName=MyLibrary&FlowName=ApprovalFlow&StepName=ReviewStep
POST /srv.asmx HTTP/1.1
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://tempuri.org/DeleteFlowStepDef"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<DeleteFlowStepDef xmlns="http://tempuri.org/">
<AuthenticationTicket>abc123-def456</AuthenticationTicket>
<DomainName>MyLibrary</DomainName>
<FlowName>ApprovalFlow</FlowName>
<StepName>ReviewStep</StepName>
</DeleteFlowStepDef>
</soap:Body>
</soap:Envelope>
DeactivateFlowDef.Common error responses:
| Error | Description |
|---|---|
[901]Session expired or Invalid ticket |
Invalid or expired authentication ticket |
Step not found |
The specified step name does not exist in the workflow definition |
| Workflow not found | The specified domain/flow combination does not exist |
| Workflow is active | The workflow definition is currently active and must be deactivated first |
AddFlowStepDef - Add a step to a workflow definitionAddFlowStepDef1 - Add a step with an “on start move to” folderActivateFlowDef - Activate a workflow definitionDeactivateFlowDef - Deactivate a workflow definitionAddFlowTaskDef - Add a task definition to a workflow step