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 capture closed by name in the notification that created on sc_req_item table?

Annie10
Tera Contributor

Hello,

I have been struggling to capture the 'Closed By' name in the notification when an RITM is closed complete. Can you please provide suggestions?

 

I'm using "${sys_closed_by", but it is returning empty.

Here is the example:

Annie10_0-1702674637193.png

 

 

 

 

22 REPLIES 22

Michael George
Tera Guru

I'm like 99% sure that it's just "closed_by" for the sc_req_item table.

Hi @Michael George 

I'm currently using "${sys_closed_by} " for the sc_req_item table, but not sure why it is returning blank/empty

Hello @Annie10   as highlighted by Michael, the field you want is "closed_by"   not "sys_closed_by"

 

hope that helps

--

Bala G

Annie10
Tera Contributor

Hi @BalaG ,

I have tried Michael's suggestion "closed_by", but it still printed "empty"

Annie10_0-1702998767868.png

 

Printed:

Annie10_1-1702998805312.png