I have developed a script to execute whenever a change task is closed - as defined in the task phase definition. The script is used to force a few fields to be set like the completion.code and the closing.comments. After the script is complete it calls the cm.close.save process which then closes the task. This all works well except when I click 'back' or otherwise cancel the script prematurely. I then get a rad error, see below.
Unrecoverable error in application: se.call.process on panel call.rad.1
The task is not closed, which is good, but ideally I need to eliminate the error otherwise the users will be unecessarily concerned.
Any ideas, hints, suggestions, recommendations or pointers would be great.
The message means the execution of the Process record failed while calling a RAD Application. Check to see if additional messages were returned as this may help identify the failure point.
If there aren't additional messages, consider tracing the work-flow using RTM:3 (RADTRACE entries) and debugdbquery:999 (DBQUERY entries). The trace will identify exactly which Process record was active at the time (e.g. cm.close). It should also help confirm if the failure occurred while calling a RAD Application or during the execution of the RAD Application.
Note: I tested a basic script when closing a Task, but an error was not generated when canceling out of it.