Skip to main content
时间估计
主题
询问社区

Gather User Information with a Get Records Element

Now, get the user’s information so the flow can then assign the privacy settings to the user. If the customer is only signing up for the portal, the flow will use the information they enter. Let’s collect their first and last name, as well as their email address.

  1. On the flow canvas, on the path after the Start element, click Add Element. Select Get Records (watch the Get Records video to learn more).
  2. For the label, enter Get User Info. The API Name field is automatically populated based on this entry, and should be Get_User_Info.
  3. For Get Records of this Object, select User.
  4. For Condition Requirements, select All Conditions Are Met (AND).
  5. For Field, select Id.
  6. For Operator, select Equals.
  7. For Value, select LoginFlow_UserId.
  8. For How Many Records to Store, select Only the first record.
  9. For How to Store Record Data, select Choose fields and assign variables (advanced).
  10. For Where to Store Field Values, select Together in a record variable.
  11. In the Select Variable to Store User section, for Record, select UserInfo.
  12. Click Add Field three times, so there are four blank Fields to fill in.
  13. In the Select User Fields to Store in Variable section, select these fields.
    • FirstName
    • LastName
    • AccountId
    • ContactId
  1. Save the flow.

Resources

在 Salesforce 帮助中分享 Trailhead 反馈

我们很想听听您使用 Trailhead 的经验——您现在可以随时从 Salesforce 帮助网站访问新的反馈表单。

了解更多 继续分享反馈