BR after Duplicating Worknotes on Parent Task

Brandon65
Tera Contributor

I've been task with setting up a rule that will set Assign_to and Assignment_group on a parent task of a Resource Plan. I'd like to set up the rule to also provide a work note documenting the change. When the BR runs it is duplicating the Work Notes from the BR. Attached is the Code. Any help to understand how to stop the work notes from entering twice would be great.

 

Business Rule is targeting Resource Plan table. This runs after Update on State = Allocated

 

**Code is targeting task.comments, but I've tried both work_notes and comments during testing

 

BR_Update Parent Record.PNG

1 ACCEPTED SOLUTION

DrewW
Mega Sage
Mega Sage

Try having it run After update and State changes to Allocated instead of = Allocated.

 

View solution in original post

2 REPLIES 2

DrewW
Mega Sage
Mega Sage

Try having it run After update and State changes to Allocated instead of = Allocated.

 

Brandon65
Tera Contributor

That was my issue. I changed "When to run" State changes to Allocated instead of State is Allocated