04/21/2023 05:13 AM
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 {''}}\"
04/23/2023 08:42 PM
Can you share full json