Business Rule not updating the required fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2024 06:01 AM
I'm trying to write a business rule that is running from the Position (sn_hr_core_position) table and I'm wanting it to run on the following triggers:
If 'Job Profile' -> 'Job Family' CHANGES
OR
If 'Job Profile' -> 'Job Family Group' CHANGES
The script for my business rule is:
If somebody could let me know what I'm doing wrong of if it's even possible to dot walk through fields, that would be great.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2024 01:54 AM
are you sure there is an HR Position record matching your query?
Because if the logic worked for some then it means it's working fine. Definitely some issue with the data setup
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2024 12:42 AM
Your BR is executed after the change is performed, try to switch it to onBefore > before the database operation is executed... if not helpful, try to log the values to see what is happening
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */