Populate WorkNotes by Business Rule on ScTask Table

Koel Goswami
Tera Contributor

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

6 REPLIES 6

Brad Bowman
Kilo Patron
Kilo Patron

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.

Anurag Tripathi
Mega Patron
Mega Patron

I would suggest call a function form the condition, in that function dotwalk and check everything and then return true/false from there.

-Anurag

AI FAIL.  This garbage is not welcomed here.

LOL

-Anurag