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.

Work Notes Not Populating on Request Item via Mobile Agent – Catalog Task

mallepallys
Tera Contributor

I have a requirement on the Mobile Agent → Catalog Task record screen where we have an Add Comments Action item to enter work notes. I want to map the work notes entered here to the Request Item's work notes.

I am able to select the Request Item → Work Notes field in the mapping, but the data is not populating. Is this because Request Item is a Reference field on the sc_task table?

Has anyone faced a similar issue? Any suggestions on the solution would be greatly appreciated.

 

@David Ha  Could you please share your inputs here? 

 

 

1 REPLY 1

Tanushree Maiti
Kilo Patron

Hi @mallepallys ,

 

You can achieve it using Business Rule.

 

Business Rule: Create a before/after update business rule on sc_task to copy work notes to ritm:

  • Script:
    if(current.work_notes.changes() ) {
    var
    ritm = new GlideRecord('sc_req_item');if (ritm.get(current.request_item)) { ritm.work_notes = "Task Work Note added from Mobile: " + current.number + " | " + current.work_notes);
Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: