SAP - Workflows Error 400

Hello,

I’m experiencing a problem in which we created a flow so that employees could request the unlocking of accounts in the communications center at idn, but this flow is giving an error and when we go to see the status it remains pending, I wanted to know where it is this error and what could I do to reverse it





SAPBWPRDReativacaodeConta20240309 (4).json (6,9,KB)

Hi @kaiolima ,

The format you provided as input for Manage access is wrong. It should be in the below format to have it worked

    {
        "id":"technicalID",
        "name":"accessItemName",
        "type":"ACCESS_PROFILE"
    }

Regards,
Uday

Hi Uday, thanks for the support. But where did you see this information exactly, would it be in the first image?

1 Like

I believe this is where you found it.

1 Like

You can retrieve the access profile name if it is present in your trigger i.e., Access Request decision. Use the name to get the actual object access profile object by using Get Access action. For “get access” action, you can use the access profile id or name as the search input e.g. name.exact == “”. Use the result of this object which is the needed format as your “Manage Access” step input like $.getAccess.accessItems[0].

I did a similar case in my organization, which worked well

2 Likes

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