Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to populate current login person first name in notification body?

Prathamesh Cha1
Tera Contributor

Hi Team,

 

I am sending notification to group members, 

I am using email script to populate the body of notification.

 

"Hi " + gs.getUserDisplayName();

above is the line I am using to populate current group members name, but it is coming as System,
I am triggering notification using flow designer it this the reason?

Can someone help me in this how to achieve this using flow only

Thanks

 

1 REPLY 1

Gangadhar Ravi
Giga Sage

Hi @Prathamesh Cha1 ,

 

please check this post. For group emails you can not add individuals names.

 

https://www.servicenow.com/community/developer-forum/use-recipient-s-name-in-email-notification/m-p/...

Please mark my answer correct and helpful if this works for you.