e.sonataflow.sonataflow-quarkus-integration-test.10.0.0.source-code.correlation.sw.json Maven / Gradle / Ivy
The newest version!
{
"id": "correlation",
"version": "1.0",
"specVersion": "0.8",
"name": "Workflow with correlation",
"description": "An test of correlation",
"start": "printWaitMessage",
"events": [
{
"name": "startEvent",
"source": "",
"type": "correlation_start_event_type",
"correlation": [
{
"contextAttributeName": "userid"
}
]
},
{
"name": "moveEvent",
"source": "",
"type": "correlation_event_type",
"correlation": [
{
"contextAttributeName": "userid"
}
]
}
],
"functions": [
{
"name": "printMessage",
"type": "custom",
"operation": "sysout"
}
],
"states": [
{
"name": "printWaitMessage",
"type":"event",
"onEvents": [{
"eventRefs": ["startEvent"]
}],
"transition": "waitForEvent"
},
{
"name": "waitForEvent",
"type": "event",
"onEvents": [
{
"eventRefs": [
"moveEvent"
],
"actions": [
{
"name": "printAfterEvent",
"functionRef": {
"refName": "printMessage",
"arguments": {
"message": "."
}
}
}
]
}
],
"end": {
"terminate": "true"
}
}
]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy