Creating workflow for Retry failed requests

I am trying to create a workflow for “Retry” requests that have failed for 3 reasons

I am using Trigger - “Provisioning Completed” with jsonpath:

$.errors[?(@ =~ /.(group membership operation|could not acquire lock|timeout)./i)]

I am getting with this the right erros that i need

The next step that i am using is action - “Manage Access”

I am using in “Identities” - $.trigger.recipient.id

In “access to manage” i tried some things, the last version i tried:

{“accessItems.$”:“$.trigger.accountRequests[].attributeRequests[]”}"

But i am getting error into “Manage Access” action, i tried many things but cant find any solution
"request failed (type: Bad Request, retryable: false): 400 - 400 Bad Request: ",

Anyone have created workflow for retry failed access requests?

My requests are all for “Access profiles” for individual users.

Hi @nicollasviggiano

Have you looked into using retryable errors on your source instead? Seems like it would be an easier more out of the box way of handling this.

I tried, but its not working, its a salesforce source and i activate that but its not working properly

When i have those erros, its not retrying

As u can see on the print, i activate and my requests with error starts to be like this:

And its not retry, only complete my request without retrying.

I tried this api call:

[

    {

        "op": "add",

        "path": "/connectorAttributes/retryableErrors",

        "value": [

          "Your request was running for too long",

          "Read time out",

          "a group membership operation initiated by user ID"

        ]

    },

    {

        "op": "add",

        "path": "/connectorAttributes/provisioningMaxRetries",

        "value": "5"

    }

]

try In “access to manage”

$.trigger.accountRequests[*].attributeRequests[?(@.name == 'assignedGroups')].value

I used AI bot to fix these problems, it should be in left side in developer community. try and let me know.

Hi Kumar Ranjan i tried to change as u say but got this error: