Create a Workflow Condition
POST {{base_url}}/Workflow/dlgWorkflowConditions
Use this endpoint to create a new workflow condition.
Specify the data for the new workflow condition in the request body.
Request
A successful call status of 201 Created returns the JSON representation for the newly created workflow condition and a call status of 400 Bad Request returns the JSON representation for the created workflow condition with a duplicate number.
Request Body
[{"name"=>"ConditionID", "value"=>"{{string}}", "datatype"=>"string"}, {"name"=>"ID", "value"=>"{{string}}", "datatype"=>"string"}, {"name"=>"ColumnName", "value"=>"{{string}}", "datatype"=>"string"}, {"name"=>"DataType", "value"=>"{{string}}", "datatype"=>"string"}, {"name"=>"Operator", "value"=>"{{string}}", "datatype"=>"string"}, {"name"=>"ExpectedValue", "value"=>"{{integer}}", "datatype"=>"string"}, {"name"=>"ExpectedValue \nDescription", "value"=>"{{string}}", "datatype"=>"string"}, {"name"=>"ConditionOrder", "value"=>"{{integer}}", "datatype"=>"string"}, {"name"=>"ConditionOperator", "value"=>"{{integer}}", "datatype"=>"string"}, {"name"=>"SQLExpression", "value"=>"{{integer}}", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | Required. |
The type of content supported by the API endpoint. |
| Authorization
| string | | Required.
The type of authorization supported by the API endpoint. |
RESPONSES
status: Created
[{"ConditionID":"WorkflowCondition_APITest","ID":"5698FE5416D34CE8AF6E8E37327975D9","ColumnName":"ApprovalItem.WorkflowStep","DataType":"int","Operator":"=","ExpectedValue":"1","ExpectedValueDescription":"1","ConditionOrder":3,"ConditionOperator":"","SQLExpression":""}]