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

How to use managerAccount in servicenow json config?

jralexander137
New Contributor II
New Contributor II

Hi! I am trying to leverage managerAccount.accountID in the create json config for servicenow connection. I can't seem to figure out the proper syntax to do a null check before sending the value. This is what I currently have but even with or without this check, the call fails. Removing this mapping causes the api call to succeed.

 

\"manager\":\"${if(managerAccount)!=null){managerAccount.accountID} else {''}}\"

I have also tried

\"manager\":\"${if(managerAccount.accountID)!=null){managerAccount.accountID} else {''}}\"

1 REPLY 1

rushikeshvartak
All-Star
All-Star

Can you share full json


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