Go to Workflow API for a detailed view of the different requests
Easy Heading Free | ||||
---|---|---|---|---|
|
The following steps will create a new workflow and then add a single Elasticsearch Publisher (In Progress) to the onPublish event.
Request
Saga_json | ||
---|---|---|
| ||
{
"description": "ES Workflow"
} |
Response
Saga_json |
---|
{
"workflow": [
{
"id": "9bdf3efb-c266-46ac-ab59-eb8eda87d9e9",
"type": "connector",
"description": "Test Workflow",
"checksum": "e143d076aab367368474087d6ebf1d90377405b7c8ab227f5cb835380e6ccc4f",
"templates": {
"template": [
{
"id": "add-static-acl",
"type": "script",
"description": "Add static ACLs",
"ruleDescription": "Static ACL: Domain:\"${domain}\" Name:\"${name}\" Type:\"${entity}\" Access:\"${access}\"",
...
},
...
]
},
"events": {
"event": [
{
"id": "onScan"
},
{
"id": "onAddUpdate"
},
{
"id": "onDelete"
},
{
"id": "onPublish"
},
{
"id": "onError"
},
{
"id": "onIdentity"
},
{
"id": "onIdentityError"
}
]
}
}
]
}
|