What is the best way to get the label/name of a activity/element that is being processed by a Job?
Example:
I have the following Timer job:
[
{
"id": "27cb51db-2a91-11e7-8c5b-0242ac110002",
"jobDefinitionId": "2044707c-2a91-11e7-8c5b-0242ac110002",
"processInstanceId": "2309f91e-2a91-11e7-8c5b-0242ac110002",
"processDefinitionId": "Reminder:108:2044707a-2a91-11e7-8c5b-0242ac110002",
"processDefinitionKey": "Reminder",
"executionId": "27a77629-2a91-11e7-8c5b-0242ac110002",
"exceptionMessage": null,
"retries": 3,
"dueDate": "2017-09-21T10:01:57",
"suspended": false,
"priority": 0,
"tenantId": null
}
]
I would like to pull back the name/label of the timer in the process definition, so more context can be provided about this job.
Is there a relatively clean way to do this?