Now Assist

ShreeShivaD
Tera Contributor

Hi,

I have a custom Now Assist skill with a Record (incident) input. I added a script tool to retrieve an attachment from that incident, but context.getValue() always returns empty.

What I tried:
- context.getValue('incident') → empty
- context.getValue('incident_number') → empty

My question:
How can I access the incident record's sys_id or number inside a script tool's context when the skill input type is Record?

Thank you.

1 REPLY 1

PradeepReddyA
Tera Guru

Hi @ShreeShivaD 

 

Please refer to the below article.You need to define the context['incident'] which should work.

 

Hope that helps !