SOAP Connector user's manager account check

Abhay_Yadav
New Contributor
New Contributor

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.

2 REPLIES 2

sahil
Saviynt Employee
Saviynt Employee

Let me check on this and will update.


Regards,
Sahil

sahil
Saviynt Employee
Saviynt Employee

Can you try with managerAccount.accountID instead of managerAccount

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


Regards,
Sahil