AEM 6.4 Workflow models location
Hi,
I am trying to programmatically start workflow instance based on a particular model.
Here is a sample code which would work in AEM 6.2:
WorkflowModel wfModel = wfSession.getModel("/etc/workflow/models/dam/update_asset/jcr:content/model")
//...
wfSession.startWorkflow(wfModel, wfData)
Now, it seems like workflows were refactored in 6.4, and according to Workflow Best Practices I should find workflow models at /libs/settings/workflow/models/
Under this path there is indeed something that looks like model definition (although named 'flow'), but it's not exactly what getModel method accepts as a valid model path.
So the question is simple: what path I should supply in order to instantiate WF model?
Thanks.