Raise incident if connection fails

Vaibhav Kumar Y
Tera Expert

Hello,
I have done a data source integration with Rest integration hub where we are fetching users data from 3rd party system through Rest.
Now we have a requirement that while running this daily schedule import if the connection status code is not successful
then it should wait for 5 mins and then try again
And even after that if the connection is not getting successful then it should raise an incident.
Kindly let me know how can I achieve this.

7 REPLIES 7

Ravi Peddineni
Kilo Sage

Hi Vaibhav, 

 

I hope you are using the flow designer for this. If yes, you should just branch out the error and try to reconnect and if it again fails, just create an incident.

I suggest you use subflow method for this as tye connection process will be similar at both the times. Let me know if you face any issues.

Hello Ravindranath,
Thank you for your reponce. I am configuring data source request action and there I am getting only below options. I am not able to modify the steps here

VaibhavKumarY_0-1680067708582.png

 



You can just set the status variable in the output of the action. Using that status in the main flow, perform the necessary action 

This is the data source I have defined and that was the action I have defined to get all the data into import set table
I haven't created anything else for now
Please suggest me how can I proceed with this

VaibhavKumarY_0-1680068597902.png