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.

Additional Information (comments) in Case are not updating

Armin Heinlein1
Giga Expert

This should be a 10 minute thing but I am trying to figure this out for some time now and I can't resolve it. My Additional Notes are just not updating  the case- even as Admin.

I want to make the close notes available on the portal so that the Customer can see them on his case. For this I created a Business Rule that runs after the case changes to Resolvd and when the Close Notes have changed.

find_real_file.png

 

And here is my advance tab

find_real_file.png

This should work, but it doesn't. I am Admin when I resolve this case so it can't be the ACL. 

Here is the System Log

find_real_file.png

 

Any help is appreciated.

 

Thanks

 

 

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Oh sorry didn't realise this was in scope! You won't be able to use that API.

Do you have cross-scope read access to the comments field?

What about this

current.comments = current.getValue('close_notes');



ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

View solution in original post

19 REPLIES 19

SanjivMeher
Mega Patron
Mega Patron

I don't find any issue with your script.

 

Can you try 

current.comments.setValue(current.close_notes);


Please mark this response as correct or helpful if it assisted you with your question.

Here is the log. 

find_real_file.png

 

You sure, it is not getting logged in the activity?

Are you able to add comments from the task form itself manually? 

What happens if you try to hard-code it? 

current.comments = 'ABC'


Please mark this response as correct or helpful if it assisted you with your question.

Hardcoded works!