Hi Everyone
I have developed a code where in we are connecting to application servers using sftp. Since we have to logout the sessions in case of success/failure, i have implemented the finally block.
Below is the flow:
MAIN[EXIT ON SUCCESS]
-TRY[EXIT ON FAILURE]
-CATCH[EXIT ON DONE]
FINALLY[EXIT ON DONE]
In the catch block, the last step is exit from parent and signal failure, so in case of failures, the finally block is unable to get the pipeline values, since at the exit step, the pipeline is being cleared.
Could someone please help me know how we can save the pipeline value(session names) in case of errors, so we can log out in finally block.
Thanks in advance.
#webMethods#Integration-Server-and-ESB