Business Rule Not Triggering - Assistance on Why?

jlaps
Kilo Sage

I am trying to account for a delay in comment generation where the comments/variables are getting sent to a 3rd party via an interconnect API. I need to generate a comment on the task AFTER the correlation ID is set, as the comments getting sent before are not getting sent properly as the correlation ID is still being generated. Any comment sent later will include full payload, so I just need to add a comment after the correlation ID gets filled in.

jlaps_0-1707410906434.png

jlaps_2-1707410945123.png

 

jlaps_3-1707410971632.png

 

Neither the status change (which is only there to check if its working) nor the comment are getting added. 

 

jlaps_4-1707411033441.png

The audit history shows the field getting updated from blank.

 

What am I doing wrong? I have tried before/after, tried alternate comment add script lines.

Thanks!

1 ACCEPTED SOLUTION

Sid_Takali
Kilo Patron
Kilo Patron

Hi @jlaps make it before Update BR and give value to condition Correlation ID Changes From or make it Correlation ID Changes.

 

Regards,

Siddharam

View solution in original post

5 REPLIES 5

Pranav_Thanedar
Mega Sage

@jlaps 

 

Can you please try to add the below conditions and check if it works?

Pranav_Thanedar_0-1707411701983.png

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.

 

Regards,

Pranav Thanedar

Also, make it a Before Update BR. 

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.

 

Regards,

Pranav Thanedar

Sid_Takali
Kilo Patron
Kilo Patron

Hi @jlaps make it before Update BR and give value to condition Correlation ID Changes From or make it Correlation ID Changes.

 

Regards,

Siddharam

Thank you for the help guys... I think my caffeine levels are too low today!