Variable for which shared flow we are currently in

Not applicable

We would like to log which shared flow we are currently in if errors occur, however we're not able to find any documentation for that. current.flow.name doesn't show the shared flow name. Right now we are just using assign message in each flow to log that but we were hoping for something built-in if possible. Any ideas?

We have tried a number of variables but none are giving us the shared flow name:

current.flow.name PreFlow
current.flow.description
proxy.name default
apiproxy.name JenTest-Proxy

JenTest-Proxy is calling JenTest-SharedFlow, we were hoping to log the shared flow name for troubleshooting purposes.

Solved Solved
0 2 578
1 ACCEPTED SOLUTION

Hi,

Please take a look into the content of url given below, look for apigee.edge.sharedflow.name under flow variables.

https://docs.apigee.com/api-services/reference/flow-callout-policy

View solution in original post

2 REPLIES 2

You can refer (sharedflow.png) to variable shared.flow.name to get shared flow name.

Thanks,

Hi,

Please take a look into the content of url given below, look for apigee.edge.sharedflow.name under flow variables.

https://docs.apigee.com/api-services/reference/flow-callout-policy