Filter - issue while creating workflow

{ “changes”: [ { “attribute”: “department”, “oldValue”: “sales”, “newValue”: “marketing” }, { “attribute”: “manager”, “oldValue”: { “id”: “ee769173319b41d19ccec6c235423237b”, “name”: “William Wilson”, “type”: “IDENTITY” }, “newValue”: { “id”: “ee769173319b41d19ccec6c235423236c”, “name”: “ed.engineer”, “type”: “IDENTITY” } }, { “attribute”: “jobCode”, “oldValue”: “Contractor”, “newValue”: “john.doe@gmail.com” } ] } $.changes[?(@.attribute == “department” && @.oldValue==“sales” && @.newValue == “marketing” ) || (@.attribute ==“jobCode” )]

With this expression, I’m able to retrieve the department values correctly, but I’m not able to fetch the jobCode values.

Hi @NandanaSailpoint

You’re missing the opening ( at the start of the filter (and the matching ) at the end). Wrap the entire condition inside a single ?( ... ) block.

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