WorkflowDto Data Type

The Class WorkflowDto.

Implemented Interfaces
Serializable
Properties
name data type constraints description
disabled boolean   Is entity disabled. Value is ignored in Update action - use enable/disable API instead.
wfType string   The wf type.
id number   The id.
auditableField array of AuditableFieldDto  
enableHistory boolean   The enable history.
transition array of WFTransitionDto   The list WF transition dto.
code string required The code
description string   The description
updatedCode string   The updated code.

Example

{
  "disabled" : true,
  "wfType" : "...",
  "id" : 12345,
  "auditableField" : [ {
    "entityClass" : "...",
    "fieldName" : "...",
    "id" : 12345,
    "changeOrigin" : "...",
    "auditableField" : [ { }, { } ],
    "originName" : "...",
    "code" : "...",
    "previousState" : "...",
    "currentState" : "...",
    "description" : "...",
    "created" : "...",
    "updatedCode" : "...",
    "actor" : "..."
  }, {
    "entityClass" : "...",
    "fieldName" : "...",
    "id" : 12345,
    "changeOrigin" : "...",
    "auditableField" : [ { }, { } ],
    "originName" : "...",
    "code" : "...",
    "previousState" : "...",
    "currentState" : "...",
    "description" : "...",
    "created" : "...",
    "updatedCode" : "...",
    "actor" : "..."
  } ],
  "enableHistory" : true,
  "transition" : [ {
    "uuid" : "...",
    "fromStatus" : "...",
    "toStatus" : "...",
    "conditionEl" : "...",
    "priority" : 12345,
    "description" : "...",
    "action" : [ {
      "uuid" : "...",
      "actionEl" : "...",
      "priority" : 12345,
      "conditionEl" : "..."
    }, {
      "uuid" : "...",
      "actionEl" : "...",
      "priority" : 12345,
      "conditionEl" : "..."
    } ],
    "decisionRule" : [ {
      "name" : "...",
      "value" : "..."
    }, {
      "name" : "...",
      "value" : "..."
    } ]
  }, {
    "uuid" : "...",
    "fromStatus" : "...",
    "toStatus" : "...",
    "conditionEl" : "...",
    "priority" : 12345,
    "description" : "...",
    "action" : [ {
      "uuid" : "...",
      "actionEl" : "...",
      "priority" : 12345,
      "conditionEl" : "..."
    }, {
      "uuid" : "...",
      "actionEl" : "...",
      "priority" : 12345,
      "conditionEl" : "..."
    } ],
    "decisionRule" : [ {
      "name" : "...",
      "value" : "..."
    }, {
      "name" : "...",
      "value" : "..."
    } ]
  } ],
  "code" : "...",
  "description" : "...",
  "updatedCode" : "..."
}