Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

How to Recall same activity (Sub process) if time out error occurs ??

Hi ,

  how to recall activity/subprocess if error occurs for activiy ???

My use case is : I need to make vCO call from cpo (either using Webtarget or using Windows Powershell Script Activity) . if time out error occurs i need to make same call again . Can any one please help on this .

Thanks

SivaRam.

Everyone's tags (6)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

How to Recall same activity (Sub process) if time out error occu

There is no inherently built in "recall" however this is not hard to do through content authoring.

If you believe this activity to fail a lot then I would do this...

*Setup a local boolean variable, default to false

*Set a while-loop to run while that local boolean is false

*When the activity runs if it's state is Succeeded or Not failed then set the boolean to true

That should accomplish what you want, however following a best practice I would be a max retry on there to limit the number of times it would attempt before you need to alert yourself that there could be an actual issue.

-shaun

--Shaun Roberts shaurobe@cisco.com CIAC Adoption Pilot Engineering Lead
1 REPLY
Cisco Employee

How to Recall same activity (Sub process) if time out error occu

There is no inherently built in "recall" however this is not hard to do through content authoring.

If you believe this activity to fail a lot then I would do this...

*Setup a local boolean variable, default to false

*Set a while-loop to run while that local boolean is false

*When the activity runs if it's state is Succeeded or Not failed then set the boolean to true

That should accomplish what you want, however following a best practice I would be a max retry on there to limit the number of times it would attempt before you need to alert yourself that there could be an actual issue.

-shaun

--Shaun Roberts shaurobe@cisco.com CIAC Adoption Pilot Engineering Lead
341
Views
0
Helpful
1
Replies
CreatePlease login to create content