This issue is now fixed. The root cause was a shim we have in our code to add convenience for our customers. The JSON specifications do not flatten (provide the string data) in single element arrays. What this means is that if you want to filter on a single item array, you would have to extrapolate the data and transform. Our developers added a convenience item for customers to avoid this extra work which was affected by the enhancement added to support jayway capabilities in actions and operators.
The added benefit here now means you can use jayway operators in actions and operators in addition to triggers. Prior to this enhancement, actions and operators only supported the Goessner JSONpath when selecting variables. We now support jayway for Actions, Operators, and triggers.
For more information, please review this page: Filtering Events | SailPoint Developer Community
Recently, an enhancement to the JSONpath implementation that Workflows uses has been released. This enhancement adds support for additional operators, like regex pattern matching. This enhancement was supposed to keep backwards compatibility with JSONpath expressions implemented in existing workflows. However, it has come to our attention that the use of a filter in a JSONpath expression now always results in an array, even if there is only one item in the array.
Before: A filter like $.trigger.changes[?(@.attribute == 'manager')].newValue.name
would produce this result: John Doe
After: A filter like $.trigger.changes[?(@.attribute == 'manager')].newValue.name
will now produce this result: [John Doe]
We have received reports that this subtle change has broken workflows using filter expressions within a Compare Strings operator, and use of this filter in email bodies is resulting in the array brackets being displayed in the resulting email.
We are working hard to fix this ASAP!
We sincerely apologize to anyone who has been affected by this change, and we appreciate your support and patience while we resolve this issue. We will make updates to this post as the solution progresses.