Business rule is triggering twice.

Pallavi16
Kilo Contributor

I have written business rule to create task with the when to run condition as "state - changes to - retired".

But when i test this after changing state to retired and substate to disposed it is triggering twice.

When i leave the substate with none option it is working as expected.

What may be the issue.

Please help me through this.find_real_file.png

8 REPLIES 8

Simon Christens
Kilo Sage

Hi

Try changing the condition "state is retired" to "state changes to retired"
When using "state is retired" then it will trigger on every update as long as the state is retired

"Changes to" should only trigger on once

I tried with that too still it is creating duplicate task

Sourabh26
Giga Guru

Hi,

 

Can you add another condition as below and let me know further.

 

State change to retire AND

sub state is none

 

Regards,

Sourabh

Hi,

It is not creating task because in some CIs the substate is automatically populating and some are none.