Respected Contributor.. Pierrot_2 Respected Contributor..
Respected Contributor..
336 views

Getting THE result from a API call

Is there a way to get a variable content from a flow with the API?

if for example an external app trigger a OO Flow by uuid it get a runID as answer (201).

Then we check that the flow complete with success.

We try to extract a var content from the GET /executions/{runID}/execution-log

but we don see it, even when the flow Propertie->Outputs->Extract Primary Output From Field:"myVar".

I know that "normaly" one would write the var to an intermediary repos and the external app would get there to extract the answer, but in our case that would not be possible.

Thanks for your time and for looking.

 

Pierre

0 Likes
1 Reply
AndreiTruta Outstanding Contributor.
Outstanding Contributor.

Re: Getting THE result from a API call

according to this: https://docs.microfocus.com/OO/10.80/Content/Develop/Working_with_API/Reason_4_Hand_Off.htm?Highlight=/executions/{runID}/execution-log the JSON comprises of the flow output list too

which you could parse with a json operation.

Is that what you are looking for or not exactly?

Andrei Vasile Truta
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.