GenericWorkflowDto Data Type

The Class GenericWorkflowDto

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.
id number   The id.
auditableField array of AuditableFieldDto  
code string required The code
targetEntityClass string   The target entity class.
targetCetCode string   The target custom entity template code.
description string   The description
filter FilterDto   The filter.
initStatus string   The init status.
updatedCode string   The updated code.
status array of WFStatusDto   The list WF status dto.
transition array of GWFTransitionDto   The list WF transition dto.
enableHistory boolean   The enable history.

Example

{
  "disabled" : true,
  "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" : "..."
  } ],
  "code" : "...",
  "targetEntityClass" : "...",
  "targetCetCode" : "...",
  "description" : "...",
  "filter" : {
    "disabled" : true,
    "shared" : true,
    "inputXml" : "...",
    "pollingQuery" : "...",
    "id" : 12345,
    "entityClass" : "...",
    "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" : "..."
    } ],
    "customFields" : {
      "customField" : [ { }, { } ],
      "inheritedCustomField" : [ { }, { } ]
    },
    "code" : "...",
    "description" : "...",
    "updatedCode" : "..."
  },
  "initStatus" : "...",
  "updatedCode" : "...",
  "status" : [ {
    "uuid" : "...",
    "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" : "..."
    } ],
    "code" : "...",
    "description" : "...",
    "updatedCode" : "..."
  }, {
    "uuid" : "...",
    "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" : "..."
    } ],
    "code" : "...",
    "description" : "...",
    "updatedCode" : "..."
  } ],
  "transition" : [ {
    "uuid" : "...",
    "fromStatus" : "...",
    "toStatus" : "...",
    "conditionEl" : "...",
    "priority" : 12345,
    "description" : "...",
    "actionScriptCode" : "...",
    "actions" : [ {
      "description" : "...",
      "uuid" : "...",
      "priority" : 12345,
      "type" : "LOG",
      "conditionEl" : "...",
      "isAsynchronous" : true,
      "actionScriptCode" : "...",
      "notificationCode" : "...",
      "valueEl" : "...",
      "logLevel" : "INFO",
      "field" : "...",
      "parameters" : {
        "property1" : "...",
        "property2" : "..."
      }
    }, {
      "description" : "...",
      "uuid" : "...",
      "priority" : 12345,
      "type" : "LOG",
      "conditionEl" : "...",
      "isAsynchronous" : true,
      "actionScriptCode" : "...",
      "notificationCode" : "...",
      "valueEl" : "...",
      "logLevel" : "DEBUG",
      "field" : "...",
      "parameters" : {
        "property1" : "...",
        "property2" : "..."
      }
    } ]
  }, {
    "uuid" : "...",
    "fromStatus" : "...",
    "toStatus" : "...",
    "conditionEl" : "...",
    "priority" : 12345,
    "description" : "...",
    "actionScriptCode" : "...",
    "actions" : [ {
      "description" : "...",
      "uuid" : "...",
      "priority" : 12345,
      "type" : "NOTIFICATION",
      "conditionEl" : "...",
      "isAsynchronous" : true,
      "actionScriptCode" : "...",
      "notificationCode" : "...",
      "valueEl" : "...",
      "logLevel" : "INFO",
      "field" : "...",
      "parameters" : {
        "property1" : "...",
        "property2" : "..."
      }
    }, {
      "description" : "...",
      "uuid" : "...",
      "priority" : 12345,
      "type" : "ACTION_SCRIPT",
      "conditionEl" : "...",
      "isAsynchronous" : true,
      "actionScriptCode" : "...",
      "notificationCode" : "...",
      "valueEl" : "...",
      "logLevel" : "DEBUG",
      "field" : "...",
      "parameters" : {
        "property1" : "...",
        "property2" : "..."
      }
    } ]
  } ],
  "enableHistory" : true
}