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
lilranger74lilranger74 

Last Modified By Email Alert

I'm trying to create an email alert to notify the case owner when I ticket was modified by someone other than them, but not the system owners which are automated processes.

 

I've tried this, but it still sends an alert when the case owner modifies their ticket.  Any help would be greatly appreciated.

 

AND( 
OR( LastModifiedById <> OwnerId, 
LastModifiedById <> 'systemowner1', 
LastModifiedById <> 'systemowner2' 
))

 

 

 

Vinita_SFDCVinita_SFDC

Hello,

 

Are systemowner1 and systemowner2 IDs? Also i don't see why are you using AND, here you have just provided attributes for OR condition. Instead of AND use NOT. If systemowner1 and systemowner2 are IDs, then try like:

NOT(
OR( LastModifiedById <> OwnerId,
LastModifiedById <> 'systemowner1',
LastModifiedById <> 'systemowner2'
)

VIMAL SRIVASTAVA.ax1855VIMAL SRIVASTAVA.ax1855

Hello

 

you should try this

 

AND( LastModifiedById <> OwnerId,
LastModifiedById <> 'systemowner1',
LastModifiedById <> 'systemowner2'
)

 

Let me know if i have misunderstood your problem
.

 

Hope this helps!
Regards,
VIMAL SRIVASTAVA

mitchellisnowmitchellisnow
Did this work ?

I may not want to send an email, but I want to create a field that I can report on if the LastModifiedById was the system, the owner of the case, or someone external (maybe via an email)