-
1. Re: Resume suspended process in AVOS
kunal pandit Dec 22, 2020 10:48 PM (in response to Manasa Chinnasani)HI Manasa,
There is an API in the SOAP endpoint of ActiveVOS to do resume processes.
-
2. Re: Resume suspended process in AVOS
Manasa Chinnasani Dec 23, 2020 1:55 AM (in response to kunal pandit)Hi Kunal,
Thanks for Reply.
Could you please share the API to resume process.
Thanks!!
Manasa
-
3. Re: Resume suspended process in AVOS
kunal pandit Dec 23, 2020 2:15 AM (in response to Manasa Chinnasani)Pleas replace your server/port in the below URL -
http://localhost:8080/active-bpel/services/ActiveBpelAdmin?wsdl
When you import this WSDL in SOAP UI, it will ask you for the Username/Password several times (around 20 times or so), one for each endpoint.
You will several other ActiveVOS Admin APIs along with Suspend and Resume.
-
4. Re: Resume suspended process in AVOS
Piyush Paras Dec 25, 2020 6:03 AM (in response to Manasa Chinnasani)For more info, you can refer to the below Informatica ActiveVOS document: Sample Java Client
-
5. Re: Resume suspended process in AVOS
John Wiley Jan 13, 2021 7:45 AM (in response to Manasa Chinnasani)As stated above, the Admin API will do the trick, but there is a catch, you would have to know the location path of the retry in the process. That is a bit difficult to determine. Not only that, but you would basically need to create a retry process for each invoke that may fail.
The easiest thing to do is to put your invokes in a loop. Have a fault handler that would catch it inside the loop and suspend it. Have the loop exit if no fault was caught. That way, if a fault is caught and the process is suspended, all you have to do is resume the process and it will go to the beginning of the loop and thereby retry. It is much easier to resume a process through the admin api. You could schedule a process to resume all suspended processes every so many hours.
Also, this would allow you to basically retry up to 50 processes at a time through just a resume on the ActiveProcesses screen in console.
Unfortunately, if you have a lot of invokes that you want to do this with, it you would be a lot of work to change them to loops with a handler. It really depends on your current code.