Skip to content

Ticket Activity - Add to log #62

Answered by jstanden
LeeTV1 asked this question in Q&A
Aug 11, 2023 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

Hi Lee!

The recent 10.4 update modifies the record.viewed automation event so it triggers on both profile pages and card popups.

There's an example of creating custom activity log entries here:
https://cerb.ai/docs/api/records/activity-log/#create-an-activity-log-entry

You can use the record.create: command in an automation to create log records.

You'd probably also want your automation to have a cooldown so it doesn't log every record view from the same worker. It could log a distinct worker+record per day. You could search log entries before creating one, but keep in mind this will have a performance impact.

Metrics are another option. They're efficient, but you'll end up with a lot of …

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jstanden
Comment options

Answer selected by jstanden
Comment options

You must be logged in to vote
1 reply
@Hildy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants