Go to Workflow API for a detailed view of the different requests
The following steps will create a new workflow and then add a single Elasticsearch Publisher (In Progress) to the onPublish event.
Request
$action.getHelper().renderConfluenceMacro("$codeS$body$codeE")
Response $action.getHelper().renderConfluenceMacro("$codeS$body$codeE")
Notice that by default when a new Workflow is created, all templates and events are added to it so they can be used to create different sets of rules.
Request
$action.getHelper().renderConfluenceMacro("$codeS$body$codeE")
Response
$action.getHelper().renderConfluenceMacro("$codeS$body$codeE")
Resquest
$action.getHelper().renderConfluenceMacro("$codeS$body$codeE")
Response $action.getHelper().renderConfluenceMacro("$codeS$body$codeE")