Cloud rest call output in Discovery pattern is overriden

Hnyunh Uhn
Tera Expert

Hi everyone,

I'm trying to call a cloud rest API in my discovery pattern step as below:

HnyunhUhn_0-1720632896757.png

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)

0 REPLIES 0