We think this comes down to how you are searching for the user. In policy express, you could set a data element to return true or false if it exists.
You are not specifying your policy express logic, Maybe screenshots would help so that we can see how and what you are populating?
Another idea would be to implement a timeout and populate a default manager.
The hanging seems like a problem, maybe turn up logging in your environment as see where the stalling happens?
------------------------------
And, as always Perhaps there are others in the communities who have experience in doing this and we invite them to comment here also.
Another option may be to reach out to our partner HCL Technologies to see in what way they can assist further. The Enterprise Studio team of HCL can be reached at
enterprisestudio@hcl.com.
https://www.hcltech.com/enterprise-studio------------------------------
Original Message:
Sent: 01-30-2020 05:02 PM
From: Chris Pickett
Subject: Salesforce Manager Assignment
Hi,
Has anyone had any luck with identifying the manager of a resource via the OOTB connector in Salesforce? We are attempting to assign the manager through logic that is configured in Policy Xpress. Through trial and error we have been able to assign a manager to a user object in Salesforce. We have also been able to update the manager on a user object. The problem we are facing occurs when we want to validate if a manager exists on the Salesforce endpoint before assigning the manager to the user object. While creating a user object on the SFDC endpoint, if the manager is not present the provisioning create task will hang in progress. Looking to see if anyone has any ideas, or have faced a similar issue. Any input would be appreciated.
Thanks!