Journal field issue on Scoped application

Singareddy Anil
Giga Contributor

Hi,

When i am inserting Incident from custom table in scoped application, i am getting cross scope error. But i have added cross-scope privileges for sys_journal_field table.. Still i am getting same error. I am using setJournalEntry() where as i developed the same in Global, that it was fine.

find_real_file.png

find_real_file.png

Anyone have idea on this error, please let me know.

 Thanks in advance

1 ACCEPTED SOLUTION

Hi Ankur,

 

Just tried with .getDisplayValue().. it works ...!!!!!

View solution in original post

9 REPLIES 9

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Anil,

I believe setJournalEntry() doesn't work in scoped app.

perform it directly like this

gr.work_notes = 'your comments';

gr.update();

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi Ankur,

 

Tried this also not working

Hi Ankur,

 

Just tried with .getDisplayValue().. it works ...!!!!!

Hi Anil,

Can you mark answer as correct and helpful. Thanks in advance.

Regards

Ankur Bawiskar

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi Anil,

Any update on this?
Can you mark my answer as correct, helpful if you were able to achieve the requirement. This helps in removing this question from unanswered list and helps users to learn from your thread. Thanks in advance.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader