Question

Photo of Jeremy Turgeon

0

Email Group Joined

I've set up a workflow that records the name of the person who has signed up for a small group using the Group Registration block.  See this Github issue for more details.  Is there a way to provide a link to that person's profile? Perhaps something like http://yourwebsite/Person/{{ Workflow.Person.Id }}. 

Also, how can I include the group they want to join?  Or even provide a link to that group?

Thanks

  • Trey Hendon III

    Hey Jeremy,
    Where you able to get this working? Don't suppose you would mind sharing screenshot of your finished workflow?
    Thanks!

  • Photo of Arran France

    1

    Going off what David commented in the Github issue the PersonId attribute is available via Lava. If you change the Set Requester action to use Id rather than Guid then you can use the Lava {{ Entity.Person.PrimaryAlias.PersonId }}.

    Then to get the person's profile you could use something like

    <a href="{{ 'Global' | Attribute:'[InternalApplicationRoot ]' }}/Person/{{Workflow.Requester}}">Link</a>

    That's assuming you're linking to the default person page. You might also want to capture:
    {{ Entity.Person.PrimaryAlias.Person.NickName }}
    {{ Entity.Person.PrimaryAlias.Person.LastName}}

    I haven't tested that. Let me know if it works or not!

  • Photo of Arran France

    0

    Jeremy, without looking at your workflow I don't think I can be much help. Is there any chance I could see a screenshot of your existing workflow?

  • Photo of Jeremy Turgeon

    0

    Sure, here is the workflow I'm using:

    SG workflow 1.PNGSG workflow 2.PNGSG workflow 3.PNG