There are 4 different api's being called now if they fail how can we re-call these API's at once i.e together?

There are 4 different api’s being called now if they fail how can we re-call these API’s at once i.e together?Not calling them individually say on the jump step of activity i need to trigger re-try logic for all at once.

No. The Jump method only transfers control to a label within the current activity. It doesn’t know which connector methods have already executed or automatically re-execute them as a group. You need to encapsulate the API calls in reusable logic (a wrapper activity or similar) so that jumping back to that logic effectively retries them.

You have 2 options -

  1. Wrapper Activity

Instead of calling the four APIs independently from different places, create a wrapper activity:

CallAPIWrapper
Call API1
Call API2
Call API3
Call API4

Each API records its success/failure (e.g., .APIStatus(“API1”) = “Failed”). You can store error messages.

If one or more APIs fail:

Jump to a retry label.
The retry logic simply invokes CallAPIWrapper again.
Inside the wrapper, either:
call all four APIs again, or
call only those marked as failed.

  1. Maintain a Retry List

When an API fails:

RetryList -
API1
API3
API4

Then your retry step simply loops through the list:

For each RetryList
Switch(APIName)
API1 → Call API1
API2 → Call API2
API3 → Call API3
API4 → Call API4

This is a flexible approach which will scale well if more APIs are added later.No duplicate retry logic and it will be able to support multiple retry attempts.

In addition to @AJRangarh response, I would recommend to trigger the APIs via queue processor, so it will retry for 3 times before it gives up. This doesn’t impact the user experience if there delays during the turnaournd time since there are 4 APIs triggered around the same time. If you requirement to retry all 4 or selected ones which failed, then you can add the logic in the queue processor activity to retry based on your requirements.

Hi @RameshSangili so will all the 4 API’s retry together in a QP?

Hi @AJRangarh i understood your part quite well but i didnt get how to maintain a pagelist?see API’s have pyStatusValue so API 1,2,3,4 all failed so this will have Failure as its value now how to call that pagelist part is i am not getting