Format of BPEL human task time series
Time series for BPEL human tasks are
timeSeries JSON
objects with attributes, as described in the table.
| Attribute | Description | Optional or required | Type |
|---|---|---|---|
| id | The identifier of the timeSeries event. This
identifier matches the id attribute of the corresponding
raw event. |
Required | String |
| offset | The Kakfa message offset | Required | Number |
| partition | The Kafka message partition | Required | Number |
| version | The document version of the timeSeries event |
Required | A string constant in V.R.M format |
| type | The type of the event | Required | String – Typical values:
|
| category | The category of the event | Required | String – HUMAN_TASK |
| timestamp | The timestamp of the corresponding raw event | Required | A string that contains an ISO8601 date in UTC (Coordinated Universal
Time) format: yyyy-mm-ddThh:mm:ss.nnnZ |
| performerName | The name of the user associated with this event | Optional | String |
| bpmSystemId | The BPM system identifier that uniquely identifies a Process Server or Workflow Server environment | Required | String |
| bpmCellName | The name of the BPM cell that emits raw events | Required | String |
| eventCode | The task event code | Required | String - Typical values:
For a list of event codes and names, see Events
for human tasks
|
| state | The state of the task | Required | String - Typical values:
For a list of event codes and names, see Events
for human tasks
|
| displayName | The display name of the task | Required | String |
| task InstanceId | The ID of the task instance | Required | String |
| task InstanceName | The name of the task instance | Optional | String |
| taskTemplateId | The ID of the task template | Required | String |
| taskTemplateName | The name of the task template | Required | String |
| taskTemplateValidFrom | The valid-from date of the task template | Required | A string that contains an ISO8601 date in UTC (Coordinated Universal
Time) format: yyyy-mm-ddThh:mm:ss.nnnZ |
| processInstanceId | The ID of the process instance | Optional | String |
| activityInstanceId | The process instance name | Optional | String |
| kind | This contains one of the following values, which indicate the kind of task: 101 for a human task. 105 for a participating task. 106 for an administrative task | Required | String |
| expirationDate | The expiration date of the task in Coordinated Universal Time | Optional | A string that contains an ISO8601 date in UTC (Coordinated Universal
Time) format: yyyy-mm-ddThh:mm:ss.nnnZ |
| data | The business data | Optional | JSON object |
| data.businessObjectName | The business object name | Optional | String |
| trace-id | The trace identifier | Required if the trace-id and span-id values are set in the raw event context. | String |
| span-id | The span identifier | Required if the trace-id and span-id values are set in the raw event context. | String |
| parent-span-id | The identifier of the parent span | Optional | String |
Example of time series attributes for BPEL human tasks
{
"version": "1.0.0",
"id": "df7c803c-f19b-4c8c-a77a-99e39c556e29",
"timestamp": "2019-05-12T08:41:06.891Z",
"type": "BPC.HTM.TASK.STATUS",
"category": "HUMAN_TASK",
"trace-id": "cf72136c-c563-4074-b99d-6f5df4d635cd",
"span-id": "946bf9bd67eb938b",
"eventCode": "51003",
"state": "TASK_STARTED",
"performerName": "admin",
"bpmCellName": "\"TAPALLINONECell01\"",
"bpmSystemId": "_PK:90230154.8567d7fb.20b78cf6.14030002",
"taskTemplateName": "http://com.example.htm.predefined/Review_Request",
"taskTemplateValidFrom": "Thu 2012-02-02 01:00:00.000",
"taskTemplateId": "_TKT:a01a0154.856affd8.20b78cf6.14030012",
"displayName": "Review",
"taskInstanceId": "_TKI:a01b016a.ab33e443.d7b78cf6.61810007",
"taskInstanceName": "Review_Request",
"offset": 0,
"partition": 0,
"data": {
"businessObjectName": "Review_Request",
"request": {
"description": "test"
}
}
}