Skip to main content
Browse Documentation
HTTP - Management

Workflow event button color

Created by m.kelly, last modified by r.saunders on 24 Sep 2021

A color that is set on a workflow definition event to determine the button color in the entry editor.

Can be any one of the following string values:

  • red
  • green
  • white

If the color is not specified for an event, white is used by default.



This example shows the color "red" being used in a workflow state

{ "id": "revoke", "name": { "en-GB": "Revoke and edit" }, "auditText": { "en-GB": "Revoked" }, "description": { "en-GB": "Revoke the entry submission" }, "transitionTo": "draft", "color": "red", "groupId": "submitRevoke", "uiAction": "none", "validate": false, "parameters": [] }