I currently have an active workflow, email alert, and email template in place however when the email is triggered I'm not getting the necessary information of the User whos profile was changed. I currently get an email with the profile that was changed and who last modified it but the User that was changed is blank in the email. The workflow rule has been created with the evaluation criteria: 'created, and every time it's edited' with the rule criteria being: 'run this formula if the formula evaluates to true' the formula text field reads: ISCHANGED(ProfileId )
The SF Classic email template email body contains:
A user has been added or edited that has a profile of System Admin.
User: {!l11_sc__Target__c.l11_sc__User__c}
Profile: {!User.Profile}
Last Modified By: {!User.Name}
The email that is triggered looks like this:
A user has been added or edited that has a profile of System Admin.
User:
Profile: Standard User
Last Modified By: Test User
With the User name field being blank for who's User profile was changed. I need the User info filled in as well when the email is triggered.
10 Antworten
Hi Samson,
Of course, I see. Then I would use {!Target_User.Name}?
Regards the filter criteria, you could either chaznge the formula to:
AND( ISCHANGED( ProfileId ), Profile.Name = "System Administrator" )
Or you could change it to trigger "created, and any time it's edited to subsequently meet criteria" and set Profile Name = System Administrator
Let me know how you get on?
Best,
Matt