Life Cycle Stage Status Change using Flow Designer

ambadaspotdar
Tera Contributor

 

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"

 

ambadaspotdar_0-1701755585058.png

 

 

ambadaspotdar_1-1701755601744.png

 

 

Thanks

1 ACCEPTED SOLUTION

Community Alums
Not applicable

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:

Stage.PNG

 

Life Cycle Stage Status:

Stage status.PNG

 

CMDB Record:

Success record.PNG

 

Flow Operation:

Flow operation.PNG

View solution in original post

9 REPLIES 9

Community Alums
Not applicable

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:

lifecycle control.PNG

2. So I can only update these 2 fields at once like below:

CI.PNG

 So in your case, check in that table first and try to update the Life Cycle Stage field as well, for example:

your case.PNG

ambadaspotdar
Tera Contributor

Hi @Community Alums, 

 

Thanks for reply. Relevant mappings are already available. 

 

ambadaspotdar_2-1701772793967.png

ambadaspotdar_3-1701772822455.png

 

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: -

 

ambadaspotdar_0-1701772681936.png

Error Snapshot:-

ambadaspotdar_1-1701772726336.png

 

Thanks

 

Community Alums
Not applicable

@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.

ambadaspotdar
Tera Contributor

@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.

 

ambadaspotdar_0-1701776323614.png