- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2023 05:43 AM - edited 05-23-2023 06:22 AM
Hi Team,
I have a requirement to update Businessunit (Reference field) to "A" when a cmdb_ci record updated or created by a particular user(X). Else the Businessunit should be updated with value "B". Could you please help me with the Business Rule which will be written on Configuration Item(cmdb_ci) table and it should be applicable to all the child tables on cmdb_ci table. This rule should run When ever a record is either inserted or updated in cmdb_ci table or any of it's child tables(Ex IP address table(cmdb_ci_ip_address)
Please let me know if you need any further details.
Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2023 06:46 AM
Hi @Uttam Sai , it looks like you already have required information , you can create Before BR on insert/update.
table - cmdb_ci
script :
Hope this helps, let me know if you have faced any particular issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2023 06:46 AM
Hi @Uttam Sai , it looks like you already have required information , you can create Before BR on insert/update.
table - cmdb_ci
script :
Hope this helps, let me know if you have faced any particular issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2023 11:55 AM
Hi @JT07 ,
For some reason , the current.sys_updated_by == "A"is not working . The Business rule runs fine when CI is created by "A" but not when updated by "A" , could you please help what can cause this issue. Could any other BR affects this?