I am working on logging the API details. How to get the flow name using javascript ? I have tried context.getVariable("current.flow.name") Is there any other way ?
Solved! Go to Solution.
I tried to get the flowname, it works for me.
Please find the attached screenshots.
You could see the flowName is captured.
my flow is
<Flow name="status"> <Description/> <Request> <Step> <Name>SetVariable</Name> </Step> <Step> <Name>Service-Callout-1</Name> </Step> </Request> <Response/> <Condition>(proxy.pathsuffix MatchesPath "/status/{code}") and (request.verb = "GET")</Condition> </Flow>