I have created DDX file and previewed the same in Assembler Descripter editor , am able to create PDF portfolio and save it into local system.
The DDX :
<PDF result="Untitled 1">
Used above DDX file to genarate the PDF Portfolio thru Activity "AssemblerService - Invoke DDX ", I hope I genarated the PDF Portfolio, but i don't know how to retrive the PDF portfolio from AssemblerResult output Variable.
I got same log files in both cases ....So assuming that Process created PDF Portfolio.
But I dont know how to get the PDF portfolio from AssemblerResult and store into local system.
Please help me to get PDF Portfolio from AssemblerRequest output variable.
Attached AssemblerResult as attachment.
Please try this xpath "/process_data/assemblerResult/object/documents". Assign this to a local document variable.
Since AssemblerResult/object/documents is a map of successful documents from the DDX job. Another approach could be to use get-map-values-for-keys function.
I've always done it in a two step process (done all in one setValue operation):
1 - assign the resulting documents to a Map[document] object using the xpath:
/process_data/myMap = /process_data/assemblerResult/object/documents
2 - get the correct response from the map. The map's key name will be the same as is in your DDX's result tag. In your case "Untitled 1"
/process_data/@myDoc = /process_data/myMap[@id="Untitled 1"]
With ES2 you can include the /process_data/@myDoc right in the DDX