These attributes make up the extra payload for the TaskGroup webhook resource for the following events: Create / Update / Delete
Create / Update Attributes
ATTRIBUTE |
---|
id string |
entity.entityId string |
entity.entityType string |
action string |
modified string |
modifiedBy string |
type string |
modifiedAttributes.attribute string |
modifiedAttributes.priorValue string |
modifiedAttributes.newValue string |
Delete Attributes
ATTRIBUTE |
---|
id string |
entity.entityId string |
entity.entityType string |
action string |
modified string |
modifiedBy string |
type string |
Webhook Payload Notification Samples
{
"eventId": "0543e678-2e23-42da-8d19-5c178807da84",
"eventTime": "2024-12-11T21:20:22.000Z",
"eventType": "create",
"meta": {
"userId": "admin",
"resourceType": "TaskGroup",
"resourceId": "b08e068b-91c7-4e06-842a-1183209d05f3",
"instanceId": "be11172718",
"resourceRef": "workflow/v1/taskgroups/b08e068b-91c7-4e06-842a-1183209d05f3",
"payload": {
"id": "c7f54af4-337e-43c5-9452-13f7549f5dc3",
"entity": {
"entityId": "b08e068b-91c7-4e06-842a-1183209d05f3",
"entityType": "TaskGroup"
},
"action": "CREATE",
"modified": "2024-12-11T21:20:21.17Z",
"modifiedBy": "admin",
"type": "Review Credit_6473316",
"modifiedAttributes": [
{
"attribute": "autocomplete",
"priorValue": null,
"newValue": "false"
},
{
"attribute": "id",
"priorValue": null,
"newValue": "b08e068b-91c7-4e06-842a-1183209d05f3"
},
{
"attribute": "instanceId",
"priorValue": null,
"newValue": "BE11172718"
},
{
"attribute": "name",
"priorValue": null,
"newValue": "Review Credit_6473316"
},
{
"attribute": "description",
"priorValue": null,
"newValue": "Review Credit"
},
{
"attribute": "type",
"priorValue": null,
"newValue": "Review Credit_6473316"
},
{
"attribute": "associations",
"priorValue": null,
"newValue": "[{\"entityId\":\"1\",\"entityType\":\"urn:elli:encompass:role\",\"relationship\":\"Assignee\"}]"
},
{
"attribute": "required",
"priorValue": null,
"newValue": "false"
},
{
"attribute": "status",
"priorValue": null,
"newValue": "NOT_STARTED"
},
{
"attribute": "priority",
"priorValue": null,
"newValue": "0"
},
{
"attribute": "rank",
"priorValue": null,
"newValue": "1"
},
{
"attribute": "created",
"priorValue": null,
"newValue": "2024-12-11T21:20:21.168Z"
},
{
"attribute": "lastModified",
"priorValue": null,
"newValue": "2024-12-11T21:20:21.168Z"
},
{
"attribute": "createdBy",
"priorValue": null,
"newValue": "admin"
},
{
"attribute": "lastModifiedBy",
"priorValue": null,
"newValue": "admin"
}
]
}
}
}
{
"eventId": "6b28e05e-b0f2-4dce-8f58-dfacf8f807db",
"eventTime": "2024-12-11T21:19:26.000Z",
"eventType": "update",
"meta": {
"userId": "admin",
"resourceType": "TaskGroup",
"resourceId": "aeb90692-a064-4b6d-bfdf-e0cdb9656bea",
"instanceId": "be11172718",
"resourceRef": "workflow/v1/taskgroups/aeb90692-a064-4b6d-bfdf-e0cdb9656bea",
"payload": {
"id": "dda32811-4c67-42ad-9df9-9c9a44f93279",
"entity": {
"entityId": "aeb90692-a064-4b6d-bfdf-e0cdb9656bea",
"entityType": "TaskGroup"
},
"action": "UPDATE",
"modified": "2024-12-11T21:19:22.119Z",
"modifiedBy": "admin",
"type": "Review Credit_2271163",
"modifiedAttributes": [
{
"attribute": "status",
"priorValue": "NOT_STARTED",
"newValue": "IN_PROGRESS"
},
{
"attribute": "lastModified",
"priorValue": "2024-12-11T21:18:54.355Z[GMT]",
"newValue": "2024-12-11T21:19:22.112Z"
}
]
}
}
}
{
"eventId": "acb660b5-2a3f-4339-930e-3450ba7f5016",
"eventTime": "2024-12-11T21:19:31.000Z",
"eventType": "delete",
"meta": {
"userId": "admin",
"resourceType": "TaskGroup",
"resourceId": "aeb90692-a064-4b6d-bfdf-e0cdb9656bea",
"instanceId": "be11172718",
"resourceRef": "workflow/v1/taskgroups/aeb90692-a064-4b6d-bfdf-e0cdb9656bea",
"payload": {
"id": "4d2c50e3-d8d4-7ba6-4021-841851dd9e4d",
"entity": {
"entityId": "aeb90692-a064-4b6d-bfdf-e0cdb9656bea",
"entityType": "TaskGroup"
},
"action": "DELETE",
"modified": "2024-12-11T21:19:28.795Z",
"modifiedBy": "admin",
"type": "Review Credit_2271163"
}
}
}