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

SOAP Connector user's manager account check

Abhay_Yadav
New Contributor II
New Contributor II

Hi,

We have a requirement to check if a User's manager's account is present in end system and is active then we need to pass the user's manager's id to end system else we have to default the manager to a hardcoded value.

We are using SOAP connector for this.

I have tried using below check in Create account JSON:

${(managerAccount != null)? manager.username :'Sav1008'}

In this it always goes to manager.username part and the mapping in end system does not happen and get set to null.

I have also tried passing hard coded values in true and false both cases but it always goes to true even if the user's manger account is not present in end system.

${(managerAccount != null)? 'Sav1009' :'Sav1008'}

always goes to Sav1009 even if manager's account is not present in end system.

Can you please help me resolve this issue.

3 REPLIES 3

SB
Saviynt Employee
Saviynt Employee

Let me check on this and will update.


Regards,
Sahil

SB
Saviynt Employee
Saviynt Employee

Can you try with managerAccount.accountID instead of managerAccount

  ${(managerAccount.accountID != null)? manager.username :'Sav1008'}


Regards,
Sahil

Abhay_Yadav
New Contributor II
New Contributor II

Hi @SB 

I'm getting this error if i use ${(managerAccount.accountID != null)? manager.username :'Sav1008'} in create account json. I think it's taking managerAccount as a string and not as a binding variable. Is there any other binding variable in SOAP connector that refers to manager's account for that application. Or, is there any other way to get Manager's application account information in SOAP connector.

Screenshot 2023-09-27 142949.jpg