Change form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 09:11 AM
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
- Labels:
-
Change Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 09:16 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2024 08:38 AM - edited 06-20-2024 11:28 AM
removed tge current.update() and in the action as complete on schedule to false and it worked

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2024 05:33 AM
Great, glad that helped. Remember to mark an answer correct to help others who have similar questions in the future.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 09:29 AM
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]
Please Mark My Response as Correct/Helpful based on Impact
Mark this as Helpful / Accept the Solution if this helps.