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

Why can't the task be digested when an account is created on the application side?

JohnDoe
Regular Contributor
Regular Contributor

Hello.

I am having trouble with certain application tasks not being digested and remaining in Pending Tasks.

This problem occurs when I provision both Create Account and Add Access.
That is, if I only have Create Account, the tasks will go to Completed Tasks without any issues.

Oddly enough, the provisioning of Create Account itself is successful.
Looking at the view function of the task, the status is "Success," confirming that the account has actually been created on the application side. (But the task remains in Pending Tasks.)

Prima facie, when I check the log, I see the error “Error in provisioning: AccountID is mandatory” at the same time as the provisioning job.

I think the reason is that the Account ID cannot be retrieved during Add Access task processing.
What is the cause of this problem and how can I solve it?

JohnDoe_0-1693788089564.pngJohnDoe_1-1693788277543.png

 

1 REPLY 1

adriencosson
Valued Contributor
Valued Contributor

Hi @JohnDoe ,

If accountID value cannot be retrieved post account creation, I would suggest you to add the following at the begininng of your JSON : 

"accountIdPath": "accountName"

adriencosson_0-1693810010319.png

Referring documentation : https://docs.saviyntcloud.com/bundle/REST-v2022x/page/Content/Developers-Handbook.htm

Hope this helps !

Regards,
Adrien COSSON