UserInvitation.AfterAccept Automation Event

Former Member
Former Member

The UserInvitation.AfterAccept Automation Event is not being triggered for me when I accept an invitation to join the site. When goes this event actually get triggered, and what triggers it?

Parents Reply
  • Former Member
    0 Former Member in reply to Ben Tiedt

    The event is not firing when the invitation is accepted. Please see the screenshot and code below:

    #set($acceptor = $context_v2_automationTrigger.Arguments.Acceptor)
    #set($userId = $context_v2_automationTrigger.Arguments.UserId)
    #if ($acceptor)
        $core_v2_user.Update("%{ Id = $acceptor.Id, _ExtendedAttributes_InvitedBy = $userId }")
    #end

Children