latestOpenAPI 3.1.02026-08-171503582.2 MB

6199a9464227

Workflow Logic Rules

Create a conditional logic rule

Creates a conditional logic rule on a draft workflow revision.

post/workflows/{workflowId}/revisions/{revisionId}/logic-rules

Path parameters

workflowIdstring required

The ID of the Workflow

revisionIdstring required

The ID of the Revision

Request body

action'Show' | 'Hide' required

What the rule does to its targets when conditions match. Show reveals tasks/widgets that are hidden by default. Hide conceals tasks/widgets that are visible by default.

descriptionstring

Optional long-form description.

Response

Example response

{
  "data": {
    "links": [
      {
        "href": "https://api.process.st/api/v1.1/resource/XXX"
      }
    ]
  },
  "links": [
    {
      "href": "https://api.process.st/api/v1.1/resource/XXX"
    }
  ]
}