2

I am creating a process builder that will publish an event using platform events. I want the process builder to publish an event only when: The currently logged in user has the same ID as one of the fields in my custom object (Client) AND when a specific checkbox is ticked in the custome object (Client).

How would I be able to get the current logged in user's ID and check if it matches a field in the client object?

  • $User.Id would return the current user id. – Mr.Frodo Oct 14 '18 at 15:13
  • And would I put that under formula ? – Kdjdnxkdks Oct 14 '18 at 15:44
  • Absolutely. In the formula section there is a drop down for System Variables, you can configure system variables from there. – Mr.Frodo Oct 14 '18 at 15:47
  • 2
    Might want to format it as an answer ;) – glls Oct 14 '18 at 17:32
2

In the formula section there is a drop down for System Variables, you can configure system variables from there.

For current logged in user id use $User.id.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.