how to check if a user is logged in while posting a comment using triggers | Community
Skip to main content

how to check if a user is logged in while posting a comment using triggers

  • September 24, 2021
  • 2 replies
  • 0 views

I need to run certain actions when a ticket is created by a visitor who is not logged into the system

2 replies

Dave12
  • September 25, 2021

Hi Federoff,

You should be able to use the "Ticket: Update via" condition to specify which channel the update came from. There are many possible channels, but you can probably narrow that down based on the channels you offer, and users who are logged out are likely responding to email notifications, so in that case the the update would be made via email. For more information, see the "Ticket: Update via" entry here: Trigger conditions and actions reference which has links for further resources. Hope this helps!


  • Author
  • September 26, 2021

This ticket was created in hc by an unauthorized user. How to determine in triggers that a ticket was created by an unauthorized one?