5

I created a trigger to make new self reg users inActive after registering. Then created a workflow to email the Admin when a user self registered and to verify and activate that user.

In my email template i am trying to link to the User who just self registered so the admin can directly go to that user record from the email. Is there a way to achieve this? I didn't see anyway to do this using merge fields.

1
  • 1
    Looks like if i use {!Target_user.Link} it doesn't show anything, but i am able to get other info like {!Target_user.CommunityNickname} that works.
    – dotnetdev
    Jan 27, 2016 at 20:52

1 Answer 1

2

If the email alert of the workflow is related to a user, you can use something like {!User.Link} to create a link directly to the user. This should work with any type of record, as long as you have the record related to the email alert.

8
  • Thanks I tried that but that takes me to the Partner Portal Site Guest User record.
    – dotnetdev
    Jan 27, 2016 at 20:10
  • Can you post the email template, or at least a reduced version of it, in your question? It might help provide some insight on which fields, or which objects to use. Jan 27, 2016 at 20:12
  • I don't have too much context yet. but here is what i want to do. " Hi <sales manager's name>, New user has registered for communities. Please verify and activate the following user : {!newly registered User Here}. "
    – dotnetdev
    Jan 27, 2016 at 20:23
  • What object are you trying to link too? Is it not the user? Jan 27, 2016 at 20:26
  • It is the user but for some reason i pulls the "Partner portal guest user" record instead of the User that submitted registration form. I have a trigger that keeps that user inactive after registering and i want the sales manager to go and activate that user. Maybe it's not possible because that user is inactive.
    – dotnetdev
    Jan 27, 2016 at 20:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .