Change form

spectura77
Tera Contributor

There is a complete on schedule dialogue box in change form is not working as expected when changed is completed it should be true .this issue is happening Intermittent 

 

I have checked  there is a business rule which runs and its conditions are

status changes from work in progress,

planned date change is not empty 

actual end is not empty

task count is 0

and also there is a script written on business rule -

current.u_compliance = true;

current.update();

 

All this conditions seems to be correct but still its not working please guide 

 

 

5 REPLIES 5

Zach Koch
Giga Sage
Giga Sage

Do you have a screenshot of the Business rule? In pretty much all cases, you should not be calling current.update() in a Business rule.

If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!

removed tge current.update() and in the action as complete on schedule to false and it worked 

Great, glad that helped. Remember to mark an answer correct to help others who have similar questions in the future.

If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!

SN_Learn
Kilo Patron
Kilo Patron

Hi @spectura77 ,

 

It is not recommended to use current.update()

 If the requirement is just to make u_complaince field to true then you can achieve it without writing script, as below:

[assuming other conditions are defined in the 'when to run' condition]

 

SN_Learn_0-1718814488078.png

 

 

Please Mark My Response as Correct/Helpful based on Impact

 

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.