Workflow - Compare String 'Contains' does not work

There are a couple of issues with your approach. Workflows uses Goessner JSONpath, which doesn’t support the contains operator. Also, the Compare Strings action is meant to compare two strings, but the result of your JSONpath expression will be an array.

If “Test-Access” is the full name of an access item in your list, then you can use the “Verify Data Type” operator with the following configuration. This JSONpath expression will return a value If any accessItem has the name “Test-Access”. If no accessItem has the name, it returns null. Therefore, checking if the data type exists will tell us if the JSONpath expression found any matches.