- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2016 10:06 AM
Assigned person not able to close problem record, in spite related problem tasks are closed complete.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2016 12:03 PM
Can you include current.setWorkflow(false); before current.update(); for testing purpose and check once.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2016 10:47 AM
It sounds like the script that is doing the checking isn't checking right. I'd start looking there to see if it really is counting all the closed issues (or better yet open child issue count == 0).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2016 11:02 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2016 11:04 AM
Can you place action.setRedirectURL(current) to be in the last line.
Also is u_problem_task the right table?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2016 11:09 AM
Also can you please paste and copy code here so that it is easy for us to test on our instance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2016 11:36 AM
in the last line of code, else part
action.setRedirectURL(current);
current.problem_state = '5'
current.work_notes = 'Close Complete'
current.update();
In this code current.problem_state = '6' represents Rejected state, if I change the value to current.problem_state = '6' and run the script is it working. I tried with current.problem_state = '7' and current.problem_state = '8' they are working. Only problem with the current.problem_state = '5'