- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2023 08:28 AM
Hi All,
I have a record producer that goes to 'on hold' state as soon as the form is submitted.
On the record producer I have below script but the state doesn't change to 'new'.
1 is value of new option in state field
3 is value of on hold option
current.state = '1';
current.u_caller = producer.employee_name;
current.u_category = 'categoryname';
Even without the above the script it goes to 'on hold' state.
Has anyone seen this before or is able to help please.
Thanks,
Narks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2023 06:02 PM
@Narkkya Arulsel Can you check if is there any Business rule setting the state on hold?
Please mark the answer correct/helpful based on Impact.
Regards,
RJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2023 06:02 PM
@Narkkya Arulsel Can you check if is there any Business rule setting the state on hold?
Please mark the answer correct/helpful based on Impact.
Regards,
RJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2023 03:21 AM
Ran script tracer and it was a business rule called 'task closure' and I just added condition 'task type' is not 'mytable' so it didn't run the rule on my table. This business rule was global and ran for task tables and any extended from it.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2023 06:08 PM
Hi,
If this is for the Incident able, out of box, it definitely shouldn't be going to an on hold state. There is something else setting the value to on hold from new. As mentioned, you can review business rules for the table in question, as well as flow designer flows (if applicable). The record producer script can also be further investigated to see. Lastly, check your state values again and ensure that somehow someone didn't change the label for the new state to something else (a bit of a reach but worth a check as a last resort).
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2023 03:23 AM
It was another table extended from Task table was just using record producer script, business rule called ' task closure' was causing issue.