Not a valid JSONPath expression

I created a working JSONPath on this site for my workflow

But in ISC I get Not a valid JSONPath expression, what can I do?

You’re trying to define a filter for a workflow. Take a look at the workflow documentation regarding filters:

It states that the JSONPath expression uses the Jayway implementation.

It looks like it allows the use of && to combine conditions within an object, but not across various objects, as you are trying to do. For example, I’ve had success with something like this:

$.requestedItemsStatus[?(@.name == "Role Name" && @.operation == "Add")]

Your best path forward is probably to filter on a single property, and then use a Compare Strings operator to further filter, sending the workflow to an End Step Success if something doesn’t match the criteria you desire.

1 Like

Thank you for your detailed response.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.