Retry on "error" step

317 views
Skip to first unread message

ezz...@gmail.com

unread,
Apr 19, 2016, 9:55:32 AM4/19/16
to Fujitsu RunMyProcess Developer Community
Hi,
I am using google APIs in a composite API, and I've reached a point where i can't find a solution.
The process looks as the image I've attached.

The point is: I start the process without retrieving an access token from google auth, because I store the token in a collection (i retrieve the token always from my collection). So, if the token has not expired, the process continues and finish correctly.

In my first step ("Drive - Copy spreadsheet file"), if the token has expired, the intermediate error event is triggered and I retrieve a new valid token from google auth (i store this new token in my collection). After that, with the new token the process goes again to the first step ("Drive - Copy spreadsheet file"). This time the process must continue and NOT GO TO THE INTERMEDIARY ERROR EVENT, but it goes through the intermediary error event, and i don't get the way to get this working.

I hope you can help me, or give me some alternative way to get this working.

Thank you

composite1.png

Murali

unread,
Apr 20, 2016, 4:01:00 AM4/20/16
to Fujitsu RunMyProcess Developer Community, ezz...@gmail.com
Hi,

While you store Collection data with latest access token, Please make sure to overwrite the related process in/output variables and gateway condition variable as well.

For the two scenarios, Please review the updated process variables values using the Process instance report, Parameters--> Initial/Computed Variables to find the root cause.

https://docs.runmyprocess.com/User_Guide/Development_Environment/Reports/Process_Reports/Parameters
https://docs.runmyprocess.com/User_Guide/Development_Environment/Toolbox/Processes/Step/Gate

Also, We found that your mail-id registered with us was a trail account and expired, kindly post your further queries from the registered mail-id in future.
It would be great, if you could provide us your Active RunMyProcess Account-ID.

This is to ensure we track and support only active user accounts.

Regards,
Murali
Fujitsu RunMyProcess Support
Reply all
Reply to author
Forward
0 new messages