Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

PrashantLearnIT
Tera Sage

If you ever want to get a watermark from an email, you can use GlideEmailWatermark for doing this.

Sample:
var getEmail = new GlideRecord("sys_email");
getEmail.addEncodedQuery("something");
getEmail.query();
if (getEmail.next()) {
gs.info(GlideEmailWatermark().parseMessageNumber(getEmail.body));
}

 

If my content helped you in anyway, please mark this content as BOOKMARK, SUBSCRIBE & HELPFUL

 

Best Regards,

Prashant Kumar (LearnIT)

 

YouTube Channel LearnIT: https://www.youtube.com/@learnitwithprashant

Blog LearnIT: https://medium.com/@LearnITbyPrashant

Prashant Kumar LinkedIn: https://www.linkedin.com/in/learnitbyprashant/

ServiceNow Community Prashant Kumar - https://www.servicenow.com/community/user/viewprofilepage/user-id/19635