Hi ,
I am trying to fetch Job Spec XML in wfm via :
Job Specs "+task.getWorkflow().toElement().asXML()
But its printing only :
<CSWorkflowImpl class="com.interwoven.cssdk.workflow.impl.CSWorkflowImpl"/>
Please suggest .
Thanks
As far as I know, there's no way to generate a jobspec from an existing workflow job. If you're looking to match the output of the iwgetwfobj CLT, the toElement() is properly implemented on most CSTask objects, but not on the CSWorkflow. That one you'd have to recreate yourself in a utility method.