- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2023 09:55 PM
Hi,
Getting Business rule Error while changing Life Cycle Stage Status using flow designer. Same is working fine manually.
Error: "Error occured while updating record: Operation against file 'cmdb_ci' was aborted by Business Rule 'Validate lifecycle combination^36aa723643361110ec0553c0bcb8f28f'. Business Rule Stack:Validate lifecycle combination"
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2023 07:40 PM
Hi @ambadaspotdar ,
Just build exactly the same as your flow and tested. It works for me with the active BR. But the set value action in flow need to be in script, like this:
Life Cycle Stage:
Life Cycle Stage Status:
CMDB Record:
Flow Operation:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2023 01:53 AM
Hi @ambadaspotdar ,
You are updating just the Life Cycle Stage Status alone, however this BR "Validate lifecycle combination" that runs on cmdb_ci table will only allow for updating in both "Life Cycle Stage" and "Life Cycle Stage Status" that match the pair in table Life Cycle Controls (life_cycle_control);
For example:
1. This is one of the rule for cmdb_ci table:
2. So I can only update these 2 fields at once like below:
So in your case, check in that table first and try to update the Life Cycle Stage field as well, for example:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2023 02:45 AM
Hi @Community Alums,
Thanks for reply. Relevant mappings are already available.
Also, tried both with "Life Cycle Stage" & "Life Cycle Stage Status" update. Still getting BR error message.
Note: - Manually its working fine. But, from flow designer getting "BR" error.
Flow Snapshot: -
Error Snapshot:-
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2023 02:54 AM - edited 12-05-2023 02:55 AM
@ambadaspotdar , what is the sys_id that appear in the error log?
Let's find the Business rule with sys_id (6aec3bf2539470102455ddeeff7b12ae) runs on cmdb_ci table and Deactivate it then try again to see if it still cause error.
If no, we may need to look at other things.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2023 03:40 AM - edited 12-05-2023 03:43 AM
@Community Alums,
After deactivating BR. Flow is working without any error message. But Blank record is getting created into "Life Cycle Stage" & "Life cycle stage status" field.