Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Add access for Netsuite application failed.

arti_rathod7
New Contributor
New Contributor

Hello Team,

 

I am working on Netsuite application for add access with below query.
{
    "call": [
        {
            "call1": {
                "name": "role",
                "connection": "accAuth",
                "url": "https://abc.com/igm",
                "httpMethod": "POST",
                "httpParams": "{\"type\": \"user\",\"action\":\"edit\",\"give_access\":\"true\",\"Role\":\"${entitlementValue.customproperty10}\",\"employee_id\":\"${account.accountID}\"}",
                "httpHeaders": {
                    "Authorization": "${access_token}"
                },
                "httpContentType": "application/json",
                "successResponses": {
                    "statusCode": [
                        200,
                        201,
                        204,
                        205
                    ]
                },
                "unsuccessResponses": {
                    "statusCode": [
                        400,
                        401,
                        403,
                        500
                    ]
                }
            },
            "call2": {
                "name": "Group",
                "connection": "accAuth",
                "url": ""https://abc.com/igm",
                "httpMethod": "POST",
                "httpParams": "{\"type\": \"user\",\"action\": \"edit\",\"give_access\":\"true\",\"Role\":\"${entitlementValue.customproperty10}\",\"employee_id\":\"${account.accountID}\"}",
                "httpHeaders": {
                    "Authorization": "${access_token}"
                },
                "httpContentType": "application/json",
                "successResponses": {
                    "statusCode": [
                        200,
                        201,
                        204,
                        205
                    ]
                },
                "unsuccessResponses": {
                    "statusCode": [
                        400,
                        401,
                        403,
                        500
                    ]
                }
            }
        }
    ]
}
When I trigger WSRETRY It Doesn't trigger the pending task.It just show provisioning try number updated but no provisioning comment is there.
I have entitlement ID saved on Customproperty10.
Can you check the JSON and suggest what is wrong.

5 REPLIES 5

rushikeshvartak
All-Star
All-Star
  • Validate connection name
  • Share logs
  • enable showlogs=true in configJSON

Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Hi Rushikesh Vartak,

The connection name is accAuth I have used in connection JSON.
Showlogs=true in configJSON is already given.
Please check attached log snap.

Does pending task is triggered or not, Your initial post is having conflicting statements


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

RevatiTarale
New Contributor II
New Contributor II

Hi Rushikesh Vartak,

Task getting trigger but it is not moved to complete task. As provision of access getting failed, In task view it doesn't reflect provisioning comment. Only shows the Number of tries for provisioning. Please check attached snap of log.

RevatiTarale_0-1712897237562.png

Thank you

Revati 

[This message has been edited by moderator to mask urls]

rushikeshvartak
All-Star
All-Star
  • Does entitlement type is matching in json and ent type level
  • Do you see any exception in logs ( need file) 

Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.