127 lines
3.4 KiB
JSON
127 lines
3.4 KiB
JSON
{
|
|
"fields": {
|
|
"name": {
|
|
"type": "varchar",
|
|
"trim": true,
|
|
"readOnly": true
|
|
},
|
|
"actionType": {
|
|
"type": "enum",
|
|
"options": ["Approve", "Review", "Accomplish"],
|
|
"readOnly": true,
|
|
"customizationReadOnlyDisabled": true
|
|
},
|
|
"resolution": {
|
|
"type": "enum",
|
|
"options": ["", "Approved", "Rejected", "Reviewed", "Completed", "Failed", "Canceled"],
|
|
"default": "",
|
|
"style": {
|
|
"Approved": "success",
|
|
"Completed": "success"
|
|
}
|
|
},
|
|
"target": {
|
|
"type": "linkParent",
|
|
"readOnly": true,
|
|
"view": "advanced:views/bpmn-user-task/fields/target",
|
|
"customizationReadOnlyDisabled": true
|
|
},
|
|
"process": {
|
|
"type": "link",
|
|
"readOnly": true,
|
|
"customizationReadOnlyDisabled": true
|
|
},
|
|
"isResolved": {
|
|
"type": "bool",
|
|
"readOnly": true,
|
|
"default": false,
|
|
"customizationReadOnlyDisabled": true
|
|
},
|
|
"instructions": {
|
|
"type": "text",
|
|
"readOnly": true,
|
|
"customizationReadOnlyDisabled": true
|
|
},
|
|
"flowNode": {
|
|
"type": "link",
|
|
"readOnly": true,
|
|
"customizationReadOnlyDisabled": true,
|
|
"utility": true
|
|
},
|
|
"description": {
|
|
"type": "text"
|
|
},
|
|
"resolutionNote": {
|
|
"type": "text"
|
|
},
|
|
"isCanceled": {
|
|
"type": "bool",
|
|
"readOnly": true,
|
|
"customizationReadOnlyDisabled": true
|
|
},
|
|
"assignedUser": {
|
|
"type": "link",
|
|
"view": "views/fields/assigned-user"
|
|
},
|
|
"teams": {
|
|
"type": "linkMultiple",
|
|
"view": "views/fields/teams"
|
|
},
|
|
"createdAt": {
|
|
"type": "datetime",
|
|
"readOnly": true
|
|
},
|
|
"modifiedAt": {
|
|
"type": "datetime",
|
|
"readOnly": true
|
|
},
|
|
"createdBy": {
|
|
"type": "link",
|
|
"readOnly": true
|
|
},
|
|
"modifiedBy": {
|
|
"type": "link",
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"links": {
|
|
"process": {
|
|
"type": "belongsTo",
|
|
"entity": "BpmnProcess"
|
|
},
|
|
"flowNode": {
|
|
"type": "belongsTo",
|
|
"entity": "BpmnFlowNode",
|
|
"noJoin": true,
|
|
"utility": true,
|
|
"layoutRelationshipsDisabled": true
|
|
},
|
|
"target": {
|
|
"type": "belongsToParent",
|
|
"foreign": "userTasks"
|
|
},
|
|
"assignedUser": {
|
|
"type": "belongsTo",
|
|
"entity": "User"
|
|
},
|
|
"teams": {
|
|
"type": "hasMany",
|
|
"entity": "Team",
|
|
"relationName": "entityTeam",
|
|
"layoutRelationshipsDisabled": true
|
|
},
|
|
"createdBy": {
|
|
"type": "belongsTo",
|
|
"entity": "User"
|
|
},
|
|
"modifiedBy": {
|
|
"type": "belongsTo",
|
|
"entity": "User"
|
|
}
|
|
},
|
|
"collection": {
|
|
"sortBy": "createdAt",
|
|
"asc": false
|
|
}
|
|
}
|