UserInvitation.AfterAccept Automation Event

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
  • 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 }")