Skip to content

Retrieve Workflow Actions

Retrieve all available workflow actions that can be initiated on a specific object workflow.

GET/api/{version}/objects/objectworkflows/{workflow_id}/actions
NameDescription
Acceptapplication/json (default) or application/xml
NameDescription
{workflow_id}The workflow id field value.
NameDescription
locWhen localized (translated) strings are available, retrieve them by including loc=true.
curl -X GET -H "Authorization: {SESSION_ID}" \
https://myvault.veevavault.com/api/v19.1/objects/objectworkflows/801/actions
{
  "responseStatus": "SUCCESS",
  "data": [
    {
      "name": "startApproval",
      "label": "Start Approval"
    },
    {
      "name": "cancel",
      "label": "Cancel"
    }
  ]
}

On SUCCESS, the response lists all available workflow actions that can be initiated on the object record. Each action includes the following fields:

  • name - The workflow action name used to initiate the workflow in the request below.
  • label - The workflow action label as seen in the UI.