- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi,
I am invoking HttpCleintRequest asynchronously from the JavaScript within the workflow.
“compete” function is working fine in all scenarios the except following –
- In case of invalid authorization token (due to validity expiration) it’s not invoking the complete handler. So, HttpClientRequest.wait activity is indefinitely waiting for the complete action to be performed for this request. I have waited till 1 hour for the completion, but still it’s not invoked (thought that it will set status as timeout in complete action)
My question is how to handle this, which function need to implement to handle this scenario?
Getting below error in the log–
Below is the sample code. Complete part is not invoking whenever there is any error in the Authorization value (highlighted)
Solved! Go to Solution.