Wednesday, 7 September 2016

XPath function DOMToDoc

We can move the data from Process Data to External document using DOMToDoc function.
This function will execute the xpath query aganist process data and will store in the external document.
DOMToDoc signature:

DOMToDoc(xpath expression , [document_name], [standalone], [root_name])

In xpath expression give the xpath that you want to store into external document.

document_name This is the name to be assigned to the new workflow document. The default value is 'Document'

root_name is to wrap the data that is being extracted from process data to document.


DOMToDoc(/ProcessData/DocumentWorkflowId,'PrimaryDocument','NO','DocumentWorkFlowId')



Output:
 

No comments:

Post a Comment