Avatar

Level 2

Thanks for the reply Jon. However probably I was unable to explain the exact scenario, my code is working as expected for all scenarios. Only when somehow authorization fails, it was unable to invoke the complete operation. As a result the workflow was getting stuck (more specifically the JS activity), as HttpClientRequest.wait activity was waiting for the complete operation to be performed.
     For the workaround, created a separate monitoring workflow, which will monitor the process and it will kill and restart the main workflow during this scenario.

Thanks,

Sitangshu