Question
2
Replies
1319
Views
Anthem Inc
Posted: October 30, 2017
Last activity: November 1, 2017
Closed
Solved
Extract WO data to a XML file and store it in a desired location
Hi,
We have a requirement to extract all the WO's information including the attachments and save them in desired location. The XML file containing the WO information and the attachments should have their names starting with their pyId. Please suggest if there are any existing possible solutions.
Thanks,
Santhosh
I'm not sure exactly where you need help. If you add a Java step to an activity where pyWorkPage is the step page, then adding this Java code:
foo = myStepPage.getXML();
will shove all of the XML from the work object into the property foo. If you make foo a file, good things should happen.