Urgent help for script

servicenow_devo
Tera Expert

Business rule is created for state change in sc task request for based on journal entry change made by non assignment group members. Worknote is update on script to highlight this development. But when members update work note this work note abd worknote added via script is comming in same line. Worknote is script mentioned as updated by system..

Worknote added by agent to update as separate entry with user name

Thankyou
7 REPLIES 7

OlaN
Giga Sage
Giga Sage

Hi,

I'm having trouble understanding your requirement and your issue.

Could you please elaborate a bit further? And add images if possible. Thank you.

Hi @OlaN ,

 

Thanks for reply. Basically the issue is with business's rule, this rule helps to change state when user updates worknotes and additional comment. So to in business rule I have given current.worknote.journalentry('state changed due to journey update' ,system)

To give hint on state change, but the actual worknote given by user is comment along this words in a new line as system updated worknote. I need to separate this worknote and actual given by current user I separate entries.

Thankyou

Hi @servicenow_devo 

 

If I understood your requirement correctly, you want to split the worknote so that you can get system provided and user provided journal entry. Am I right ?

 

Thanks & Regards

Amit Verma


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

Yes exactly both worknotes should be separated. The above scripts are not working in my scenario @Amit Verma .

As both happens at same time worknotes are coming together showing like added by systm

Thankyou