Skip to content

Instantly share code, notes, and snippets.

@tiagodolphine
Created October 30, 2023 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tiagodolphine/e5a37e67b59d2f0a6b24ebc6c38044c0 to your computer and use it in GitHub Desktop.
Save tiagodolphine/e5a37e67b59d2f0a6b24ebc6c38044c0 to your computer and use it in GitHub Desktop.
ProcessDefinitionDataEvent Example
{
"id": "717af02d-645a-4b27-8058-b67ff1fa8edb",
"source": "http://localhost:8080/jsongreet",
"type": "ProcessDefinitionEvent",
"time": "2023-10-19T10:18:01.540311-03:00",
"dataSchema": "ProcessDefinitionEvent",
"data": {
"id": "jsongreet",
"name": "Greeting workflow",
"description": "JSON based greeting workflow",
"version": "1.0",
"type": "ProcessDefinitionEvent",
"roles": null,
"addons": [
"source-files",
"cloudevents"
],
"annotations": [
"test2",
"test3",
"test1"
],
"endpoint": "http://localhost:8080/jsongreet",
"source": null,
"metadata": {
"Description": "JSON based greeting workflow",
"annotations": [
"test1",
"test2",
"test3"
],
"Tags": [
"test1",
"test2",
"test3"
]
},
"nodes": [
{
"id": "1",
"name": "Start",
"type": "INTERNAL",
"uniqueId": "_jbpm-unique-12",
"metadata": {
"UniqueId": "_jbpm-unique-12",
"state": "ChooseOnLanguage"
}
},
{
"id": "2",
"name": "End",
"type": "INTERNAL",
"uniqueId": "_jbpm-unique-13",
"metadata": {
"UniqueId": "_jbpm-unique-13",
"state": "GreetPerson"
}
},
{
"id": "3",
"name": "ChooseOnLanguage",
"type": "INTERNAL",
"uniqueId": "3",
"metadata": {
"UniqueId": "3",
"Variable": "workflowdata",
"state": "ChooseOnLanguage",
"Default": "3_12"
}
},
{
"id": "4",
"name": "GreetInEnglish",
"type": "INTERNAL",
"uniqueId": "_jbpm-unique-15",
"metadata": {
"UniqueId": "_jbpm-unique-15",
"state": "GreetInEnglish"
}
},
{
"id": "5",
"name": "GreetInSpanish",
"type": "INTERNAL",
"uniqueId": "_jbpm-unique-16",
"metadata": {
"UniqueId": "_jbpm-unique-16",
"state": "GreetInSpanish"
}
},
{
"id": "6",
"name": "GreetPerson",
"type": "INTERNAL",
"uniqueId": "_jbpm-unique-17",
"metadata": {
"UniqueId": "_jbpm-unique-17",
"state": "GreetPerson"
}
},
{
"id": "7",
"name": "EmbeddedStart",
"type": "INTERNAL",
"uniqueId": "_jbpm-unique-18",
"metadata": {
"UniqueId": "_jbpm-unique-18"
}
},
{
"id": "9",
"name": "greetFunction",
"type": "INTERNAL",
"uniqueId": "_jbpm-unique-19",
"metadata": {
"UniqueId": "_jbpm-unique-19",
"action": "greetAction",
"state": "GreetPerson"
}
},
{
"id": "10",
"name": "Script",
"type": "INTERNAL",
"uniqueId": "_jbpm-unique-20",
"metadata": {
"UniqueId": "_jbpm-unique-20"
}
},
{
"id": "11",
"name": "EmbeddedEnd",
"type": "INTERNAL",
"uniqueId": "_jbpm-unique-21",
"metadata": {
"UniqueId": "_jbpm-unique-21"
}
},
{
"id": "12",
"name": "Join-GreetInEnglish",
"type": "INTERNAL",
"uniqueId": "_jbpm-unique-22",
"metadata": {
"UniqueId": "_jbpm-unique-22",
"state": "GreetInEnglish"
}
},
{
"id": "13",
"name": "Join-GreetPerson",
"type": "INTERNAL",
"uniqueId": "_jbpm-unique-23",
"metadata": {
"UniqueId": "_jbpm-unique-23",
"state": "GreetPerson"
}
}
]
},
"specversion": "1.0",
"kogitoprocid": "jsongreet"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment