Currently the xlm value is being copied from the previous submission. Is there a way to copy the form xml from specific step. the code is for jobservice in Json
Have you looked at JobFunctions ?
You will find samples there, including example code like $func.stepOrSubmissionXml($job.submissions.get(1))
Thanks Bill, much appreciate your help, however I was looking for from different submission, not different step from same submission
Can you use $job.submissions.get(n) to get the particular submission you are interested in?