Dw2456
(Dawn Wright)
August 24, 2023, 3:06pm
1
Hello please let me know if the JSON I am trying to create is possible.
We are looking to filter provisioning for a specific set of attributes:
-Add not the removal provisioing completed
-provisioning result (commited)
-provisioning target (azure)
The problem is we know that the && is limited. Does anyone have any JSON path that would work this isn’t valid:
$.accountRequests[?(@[*].attributeRequests[?(@.operation == ‘Add’ && @.attributeValue == ‘Azure ER Account’)] && @.provisioningResult == ‘committed’ && @.provisioningTarget == ‘Azure AD ER source’)]
What would be an alternative.
1 Like
iamnithesh
(Nithesh Rao)
August 25, 2023, 1:38am
2
$.accountRequests[?(@.provisioningResult == 'committed' && @.provisioningTarget == 'Azure AD ER source' && 'Add' in @.attributeRequests[*].operation && 'Azure ER Account' in @.attributeRequests[*].attributeValue)]
Try this and share the outcome please
1 Like
Dw2456
(Dawn Wright)
August 25, 2023, 12:41pm
4
Hello Unfortunately, it did not trigger the workflow
iamnithesh
(Nithesh Rao)
August 25, 2023, 1:15pm
5
Try this please…
$.accountRequests[?(@.provisioningResult == 'committed' && @.provisioningTarget == 'Azure AD ER source' && 'Add' in @.attributeRequests[*].operation)]
2 Likes
Dw2456
(Dawn Wright)
August 25, 2023, 1:21pm
6
Thank you! This works as expected!
1 Like
system
(system)
Closed
October 24, 2023, 1:21pm
7
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.