I want to print out the entire job spec for a workflow (developed in WFM) in my custom debug log. from this line of Java code:
log.debug("Job XML: " + getCurrentTask().getWorkflow().toElement().asXML());
It is only printing this:
[HTML]Job XML: [/HTML]
This code for printing the Task XML works just fine - it prints out exactly what I would expect - all the details of the task:
log.debug("Task XML: " + getCurrentTask().toElement().asXML());
Is there another way to retrieve the job spec? Or is this a limitation of WFM workflows?