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-14-2023 10:56 AM
I have had trouble dot-walking in the Filter Conditions, Actions, and Condition on BR, so try wrapping the script in an if block (use current.request_item....). And make sure your field path is correct for your scenario - the HR Case is populated in the parent field on the REQ record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2023 11:02 AM
I would suggest call a function form the condition, in that function dotwalk and check everything and then return true/false from there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2023 07:53 AM
AI FAIL. This garbage is not welcomed here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2023 08:49 AM
LOL