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?
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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.