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 set push notification message for latest inserted/updated worknotes list and also the time

DurganjaliP
Tera Contributor

Hello,

How to set push notification message for latest inserted/updated work notes and also the time of the latest work note is inserted.

I've tried the following

${number} <here I need the current time/ latest work note inserted time>
"Some content for message"

${work_notes}

Expected output

WOTXXXXX 2024-11-21 13:46:55 - <Name> 
Some content for message
<latest work notes that is inserted>(only the latest inserted one)

But I'm getting all the work notes. 

Thanks in advance
Anjali


 

1 REPLY 1

Old Jonesy
Tera Expert

Curious to know if you found a solution?

 

I have a similar requirement for a push notification and adding the OOB email script 'incident_lastest_worknote' doesn't seem to work