05-19-2012 02:55 AM
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.
Solved! Go to Solution.
05-19-2012 08:42 AM
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
05-19-2012 08:42 AM
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
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: