APIGEE Shared flow

Hi All,  

#APIGEE Shared flow:-->  I want to define shared flow logic to remove "+" against MSISDN for all API proxies , what is the best way to define that ... irrespective where its a part of json payload or query parameter.

0 1 47
1 REPLY 1

Just to clarify

A SharedFlow, in Apigee ,is a way to define a re-usable sequence of policies that you might reference from different API proxies. Think of it as a way to package logic steps so that they can be re-used.

But a sharedflow is not itself "logic".  It's a container for logic. 

If you want to replace text in strings, whether in query param or the payload, a good way to do that would be in a Javscript policy. 

And you'd just use JavaScript the right combination of String.replace() , iteratively across all the query params, and the payload.