Apigee given error while using firstnonnull function in shared flow.

We are migrating the one application in APIGEE.

We are using shared flow for one of the error handling scenario. I am using firstnonnull function in shared flow to set the value of content type to the target content type, if target content type is null.

firstnonnull(ws.faultcontenttype, ws.contenttype)

While using above and deploying the shared flow, APIGEE is giving below error message.

Error message - The revision is deployed, but traffic cannot flow. entities.UnknownStringFunction

For testing i kelp like below and APIGEE is allowing me to save and deploy-

substring(ws.faultcontenttype, ws.contenttype)

Can you please help me for the same.

Regards,

Rohit Karadi

0 1 205
1 REPLY 1

I think it's possible the firstnonnull function is not yet available in your version of Apigee Edge.

"UnknownStringFunction" gave me the hint.

As the team was rolling out the next release of Apigee to the cloud, COVID-19 struck. The release was put on hold. It's possible the documentation was released in advance of the update being actually available.

Sorry for the inconvenience. I believe the team is back at work releasing the update to the cloud. You should have that function soon.