Hi,
I am using a source as a rest adapter and my target is also a rest service, before invoking a target service we have an auth call that gives us a token(the expiry will be 1 hour), which needs to send in a second call as a header So in this process we are fault policy which retries 3 times in 5 seconds, whenever there is a remote fault, after that we have default-human-intervention.
Now in this case I have a remote fault in the second call, So whenever we have a remote fault, my fault policies retry the invoke activity 3 times, and then the status will be recovery required, when we are trying to retrigger via error hospital the second call invoke activity gets re-triggered with expired token, So again it was getting fault as the token is expired.
The Auth call and second call are in different scopes.
Can we have a solution, whenever we retrigger via error hospital, my re-trigger will need to start from the Auth call not from the second call?
Thanks in Advance!
Thanks and Regards,
Sanjay Ganta.