Workflow Data Type

Implemented Interfaces
IReferenceEntity, Serializable
Properties
name data type constraints description
codeChanged boolean  
transitions array of WFTransition  
parentEntityType object  
auditableFields array of AuditableFieldHistory  
transient boolean  
disabled boolean  
referenceCode string  
wfType string  
referenceDescription string  
appendGeneratedCode boolean  
parentEntity BusinessEntity  
auditable Auditable  
descriptionOrCode string  
active boolean  
id number  
description string max size: 255, min size: 0
descriptionAndCode string  
code string required, max size: 255, min size: 1
version number  
historized boolean  
enableHistory boolean  
notified boolean  

Example

{
  "codeChanged" : true,
  "transitions" : [ {
    "version" : 12345,
    "description" : "...",
    "uuid" : "...",
    "toStatus" : "...",
    "conditionEl" : "...",
    "workflow" : {
      "codeChanged" : true,
      "transitions" : [ { }, { } ],
      "parentEntityType" : { },
      "auditableFields" : [ { }, { } ],
      "transient" : true,
      "disabled" : true,
      "referenceCode" : "...",
      "wfType" : "...",
      "referenceDescription" : "...",
      "appendGeneratedCode" : true,
      "parentEntity" : { },
      "auditable" : { },
      "descriptionOrCode" : "...",
      "active" : true,
      "id" : 12345,
      "description" : "...",
      "descriptionAndCode" : "...",
      "code" : "...",
      "version" : 12345,
      "historized" : true,
      "enableHistory" : true,
      "notified" : true
    },
    "id" : 12345,
    "transient" : true,
    "wfActions" : [ {
      "wfTransition" : { },
      "userGroupCode" : "...",
      "conditionEl" : "...",
      "uuid" : "...",
      "priority" : 12345,
      "transient" : true,
      "version" : 12345,
      "id" : 12345,
      "actionEl" : "..."
    }, {
      "wfTransition" : { },
      "userGroupCode" : "...",
      "conditionEl" : "...",
      "uuid" : "...",
      "priority" : 12345,
      "transient" : true,
      "version" : 12345,
      "id" : 12345,
      "actionEl" : "..."
    } ],
    "wfDecisionRules" : [ {
      "transient" : true,
      "name" : "...",
      "wfTransitions" : [ { }, { } ],
      "id" : 12345,
      "version" : 12345,
      "conditionEl" : "...",
      "value" : "...",
      "model" : true,
      "type" : "NUMBER"
    }, {
      "transient" : true,
      "name" : "...",
      "wfTransitions" : [ { }, { } ],
      "id" : 12345,
      "version" : 12345,
      "conditionEl" : "...",
      "value" : "...",
      "model" : true,
      "type" : "RANGE_NUMBER"
    } ],
    "fromStatus" : "...",
    "priority" : 12345,
    "combinedEl" : "..."
  }, {
    "version" : 12345,
    "description" : "...",
    "uuid" : "...",
    "toStatus" : "...",
    "conditionEl" : "...",
    "workflow" : {
      "codeChanged" : true,
      "transitions" : [ { }, { } ],
      "parentEntityType" : { },
      "auditableFields" : [ { }, { } ],
      "transient" : true,
      "disabled" : true,
      "referenceCode" : "...",
      "wfType" : "...",
      "referenceDescription" : "...",
      "appendGeneratedCode" : true,
      "parentEntity" : { },
      "auditable" : { },
      "descriptionOrCode" : "...",
      "active" : true,
      "id" : 12345,
      "description" : "...",
      "descriptionAndCode" : "...",
      "code" : "...",
      "version" : 12345,
      "historized" : true,
      "enableHistory" : true,
      "notified" : true
    },
    "id" : 12345,
    "transient" : true,
    "wfActions" : [ {
      "wfTransition" : { },
      "userGroupCode" : "...",
      "conditionEl" : "...",
      "uuid" : "...",
      "priority" : 12345,
      "transient" : true,
      "version" : 12345,
      "id" : 12345,
      "actionEl" : "..."
    }, {
      "wfTransition" : { },
      "userGroupCode" : "...",
      "conditionEl" : "...",
      "uuid" : "...",
      "priority" : 12345,
      "transient" : true,
      "version" : 12345,
      "id" : 12345,
      "actionEl" : "..."
    } ],
    "wfDecisionRules" : [ {
      "transient" : true,
      "name" : "...",
      "wfTransitions" : [ { }, { } ],
      "id" : 12345,
      "version" : 12345,
      "conditionEl" : "...",
      "value" : "...",
      "model" : true,
      "type" : "DATE"
    }, {
      "transient" : true,
      "name" : "...",
      "wfTransitions" : [ { }, { } ],
      "id" : 12345,
      "version" : 12345,
      "conditionEl" : "...",
      "value" : "...",
      "model" : true,
      "type" : "RANGE_DATE"
    } ],
    "fromStatus" : "...",
    "priority" : 12345,
    "combinedEl" : "..."
  } ],
  "parentEntityType" : { },
  "auditableFields" : [ {
    "notfiable" : true,
    "fieldName" : "...",
    "auditType" : "RENEWAL",
    "previousState" : { },
    "historable" : true,
    "notified" : true,
    "historized" : true,
    "currentState" : { }
  }, {
    "notfiable" : true,
    "fieldName" : "...",
    "auditType" : "OTHER",
    "previousState" : { },
    "historable" : true,
    "notified" : true,
    "historized" : true,
    "currentState" : { }
  } ],
  "transient" : true,
  "disabled" : true,
  "referenceCode" : "...",
  "wfType" : "...",
  "referenceDescription" : "...",
  "appendGeneratedCode" : true,
  "parentEntity" : {
    "codeChanged" : true,
    "notified" : true,
    "descriptionOrCode" : "...",
    "description" : "...",
    "version" : 12345,
    "historized" : true,
    "transient" : true,
    "id" : 12345,
    "parentEntityType" : { },
    "parentEntity" : { },
    "referenceCode" : "...",
    "code" : "...",
    "auditableFields" : [ {
      "notfiable" : true,
      "fieldName" : "...",
      "auditType" : "STATUS",
      "previousState" : { },
      "historable" : true,
      "notified" : true,
      "historized" : true,
      "currentState" : { }
    }, {
      "notfiable" : true,
      "fieldName" : "...",
      "auditType" : "RENEWAL",
      "previousState" : { },
      "historable" : true,
      "notified" : true,
      "historized" : true,
      "currentState" : { }
    } ],
    "auditable" : {
      "creator" : "...",
      "updater" : "...",
      "updated" : 12345,
      "lastModified" : 12345,
      "lastUser" : "...",
      "created" : 12345
    },
    "descriptionAndCode" : "...",
    "appendGeneratedCode" : true,
    "referenceDescription" : "..."
  },
  "auditable" : {
    "creator" : "...",
    "updater" : "...",
    "updated" : 12345,
    "lastModified" : 12345,
    "lastUser" : "...",
    "created" : 12345
  },
  "descriptionOrCode" : "...",
  "active" : true,
  "id" : 12345,
  "description" : "...",
  "descriptionAndCode" : "...",
  "code" : "...",
  "version" : 12345,
  "historized" : true,
  "enableHistory" : true,
  "notified" : true
}