Business Rule issue - triggers twice when comment is updated via email

Hanumant Madan1
Kilo Guru

Dear Team,

We have business rule : Jira_Webhook_Commentsupdate.

This rule should ideally gets triggered when someone updates the comment on Incident, and the Jira_ref_id field is not empty i.e. have value.

In regular scenarios i.e.: when someone updates comment using Incident form, the trigger works fine and BR gets executed as expected.

But when someone updates the comments via email , the BR gets executed twice and we are unable to identify if this is something to do with BR filter, as only single comment gets updated on INC via email, then why BR runs two times.

Any advise on this, why BR triggers twice when comment gets updated via email?

Attached rule.

Regards,
Hanumant

1 ACCEPTED SOLUTION

Hanumant Madan1
Kilo Guru

Hi All,

 

We resolved this by moving field action from UI under action tab into the Script and this got resolved.

Not sure what field action in Action tab was causing, but this is now resolved.

 

Regards,

HM

View solution in original post

15 REPLIES 15

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

Do you have any BR on the table that has current.update() ?

This is the most common cause for this behavior.

-Anurag

-Anurag

how and where to I exactly check this?

in the script of BR? on INC table?

Regards,

Hanumant

Yes, in the script of BR? on INC & task table?

Just search by <script> <contains> current.update()

-Anurag

Hi Anurag,

 

Yes, I see there are 4 BRs on incident table which has current.update(), however those are not under Global application scope, not sure if that matters.

What is the way out?

 

Regards,

Hanumant