Set Salesforce User Object Lookup With Current Logged In User

This guide will explain how to set a Salesforce Lookup for User Object with the current user via Field Update Workflow and the system merge fields.

Drag and drop a Salesforce Lookup and a Field Update Workflow field.

image

Click the pencil icon of the Salesforce Lookup field. Set the object as β€œUser” and rename the Label as shown below. Save the changes.

image

Click the pencil icon of the Field Update Workflow field. And update the Salesforce lookup field with the System Merge field β€œ{{Formyoula_User_Salesforce_Id}}”:

Select User ||value || {{Formyoula_User_Salesforce_Id}}

Save the changes.

image

Try the form. It will update the Salesforce Lookup field with the username of the current user.

image

Here are all the other System Merge fields:

Formyoula_Created_By
Formyoula_Form_Id
Formyoula_Queue_Manager_Id
Formyoula_User_Attributes
Formyoula_User_Country
Formyoula_User_Email
Formyoula_User_Id
Formyoula_User_LanguageLocaleKey
Formyoula_User_Role
Formyoula_User_Salesforce_Id
Formyoula_User_Type
Formyoula_User_Username

For any questions, please contact us - [email protected] or the Formyoula in-app chat πŸ™‚