Menu

trigger - how to get the username of the last update

Zwettler
2022-07-05
2022-07-05
  • Zwettler

    Zwettler - 2022-07-05

    Hi! i'd like to create a trigger where i can differ, if the last update of a thicket was caused by a user (the caller) or the last update was caused by the support agent.

    i can only find a timestamp for the last update in the table name 'ticket' - but not a field that shows the user who did the last update.

    Question: How can i get the user (id, team, ...) who did the last update an use this information in the filter of the trigger?

    kind regards
    ZT

    attached please find a screenshot

     
  • Vincent @ Combodo

    Give a look at the OQL examples to search on History
    But in general, we just use the context in the trigger to differentiate between agent and caller, the caller using the portal and not the agent.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.