Cloud rest call output in Discovery pattern is overriden
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2024 10:39 AM
Hi everyone,
I'm trying to call a cloud rest API in my discovery pattern step as below:
The URL is not static. I want to call the API multiple time for every CI records I have in the table $serverfarm_resource. Then get the output from every API call and store them in the table "serverfarm_response" as you see in the picture.
However, the problem is that the "serverfarm_response" only be able to hold the output of the last API call.
For example:
The API is called for the first CI and the table "serverfarm_response" stores value A.
Then the API is called again for the second CI and the table "serverfarm_response" stores value B (A was overridden by B, while I need to get both A and B)
Do we have anyway to get the output of all API calls? (Both A and B in the example)