Urgent help for script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2024 10:50 AM - edited ‎01-24-2024 10:50 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2024 11:12 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2024 12:43 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2024 01:50 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2024 04:28 AM
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