function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SteveAtGFISteveAtGFI 

SOQL to find "automated process" on LiveChatTranscript

Live Agent has a nasty habit of assigning "Automated Process" as the owner of chat transcripts when all else fails. In my org, it's some Random ID that doesn't exist anywhere in my user table (even after exporting the whole thing and searchign for the ID manually). I need to write a trigger that tests for this ID, but I don't want to enter the ID manually. Can anyone suggest a SOQL to find the User ID for automated process? Is it always the same?