Hi,
I have a process model that generates a document, and the id of the document gets stored in the process variable. Now in my interface I want to call this integration and extract the document ID so that I can provide it for the document download link function for the user to download the document. Now the problem is I am unable to access the result of the integration. I tried accessing the id using 'rule!integrationRuleName.body.id' but it constantly gave me an error saying cannot index property body of reaction tree.
Can anyone help me in this, how to extract the document ID from the integration result ?
Discussion posts and replies are publicly visible
But why do you want to extract the document ID with an integration when the process model is in the same environment?
I want to use it on a portal, so I cant access process model values directly, this is what I think
If you can wait for the upgrade, you won't have to do that. They removed the need for API and integration from portals in the new release.
OO nice, for now I solved the error, I just had to do queries data rather then modifies data, and then store the result in local var
Thanks though
Good that you figured out the solution.
Also, as you see in the structure of integration response, if you want to retrieve the particular field, it should be like following.
index( index(rule!integrationRuleName(), "result", {}), "body", "id")