Skip to main content
GET
/
workflow
/
v2beta1
/
workflows
/
{workflowId}
/
states
/
{stateId}
/
transitions
cURL
curl --request GET \
  --url https://aodocs.altirnao.com/api/workflow/v2beta1/workflows/{workflowId}/states/{stateId}/transitions \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "createNewDocumentVersion": true,
      "createdTime": "2023-11-07T05:31:56Z",
      "discardCheckedOutDocument": true,
      "elapsedTime": {
        "amount": 123,
        "unit": "MINUTE"
      },
      "fixedTime": "2023-11-07T05:31:56Z",
      "humanAction": {
        "actionId": "<string>",
        "appliedName": "<string>",
        "appliedName_i18n": "<string>",
        "commentPlaceholderText": "<string>",
        "commentPlaceholderText_i18n": "<string>",
        "mandatoryComment": true,
        "name": "<string>",
        "name_i18n": "<string>",
        "performer": {
          "classId": "<string>",
          "className": "<string>",
          "description": "<string>",
          "displayName": "<string>",
          "displayName_i18n": "<string>",
          "thumbnailPictureUrl": "<string>",
          "type": "USER",
          "value": "<string>"
        },
        "reminders": [
          {
            "audience": "PENDING",
            "condition": {
              "params": {},
              "scriptId": "<string>",
              "scriptName": "<string>"
            },
            "emailTemplateId": "<string>",
            "id": "<string>",
            "name": "<string>"
          }
        ],
        "validateByAll": true
      },
      "id": "<string>",
      "kind": "<string>",
      "lastModifiedTime": "2023-11-07T05:31:56Z",
      "propertyData": {
        "operator": "EQUAL_TO",
        "personValue": {
          "classId": "<string>",
          "className": "<string>",
          "description": "<string>",
          "displayName": "<string>",
          "displayName_i18n": "<string>",
          "thumbnailPictureUrl": "<string>",
          "type": "USER",
          "value": "<string>"
        },
        "propertyId": "<string>",
        "value": "<string>"
      },
      "propertyTime": "<string>",
      "relativeTime": {
        "after": true,
        "amount": 123,
        "propertyId": "<string>",
        "unit": "MINUTE"
      },
      "targetStateId": "<string>",
      "targetStateName": "<string>",
      "targetStateName_i18n": "<string>",
      "transitionType": "NORMAL"
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

workflowId
string
required

The ID of the workflow

stateId
string
required

The ID of the workflow state

Query Parameters

onlyManualTransitions
boolean
default:false

Whether to list only the manual transitions of the workflow state

domain
string

The G Suite domain

securityCode
string

The security code

Response

200 - application/json

A ApiWorkflowTransitionCollection response

An ordered list of ApiWorkflowTransition

items
object[]