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 get SYS id of record selected in My tasks widget

Chaiatnya
Tera Contributor

In ESC portal my tasks, I've configured a widget for approval action buttons, issue is when I click the button, I required sys id of the approval record that is currently showing, any idea how to get that.

 

Kri_0-1686735044949.png

Widget call

Kri_1-1686735154239.png

First time when loading it is giving sys_id of approval record, but on click if it is showing undefined

Kri_2-1686735280027.png

 



 

1 REPLY 1

Lyes1
Tera Contributor

Does any one have a solution for this ?
Thanks.