Populate WorkNotes by Business Rule on ScTask Table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 08:36 AM
I have written after insert business rule on SCTASK table. I want to populate the worknotes in the sctask of certain fields from the hr case subject person HR Profile . I gave the when to run condition -
request_item.request.parent.sn_hr_core_case.hr_service= sys id for the HR Service.
But it is not getting triggered
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2023 09:18 AM
what did you try so far?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2023 08:29 AM
your Br when to run condition looks very crazy, Do you have any connection between HR case and Request? Why the Service condition? How the Profile comes here, why you need thet? Also the requirement:
" I want to populate the worknotes in the sctask of certain fields from the hr case subject person HR Profile ."
Try to rephrase as something like:
Where you want to post something? To any created SCTASK work notes field? What you want to post there? Some field values for the Requested for's HR profile? If you rephrase your req likely somebody could help.