Hi All,
When we try to debug flow services we use the below services:
WmPublic/pub.flow:savePipelineToFile
WmPublic/pub.flow:restorePipelineFromFile
We usually disable and enable the above services while debugging the flow logic. I think this is not a good practice :lol:
And also we have a flow step properties called pipeline debug in wM 8.2 and above (you can still use that if you wish)
Here is a very simple sample code that can be used for debugging.
Note: Make sure you pass the same fileName as input to savePipelineToFile and restorePipelineFromFile
input: debug
ouput: NA
Flow logic:
Branch on /debug:
$null: pub.flow.restorePipelineFromFile
$default: pub.flow.savePipelineToFile
PFA screen shot;
Let me know if anyone has questions :lol:
Before you move your code to PROD make sure you remove this lines of code.
#Integration-Server-and-ESB#webMethods