RAD Error on back/cancel from a script (360 Views)
Reply
Trusted Contributor
warrenf
Posts: 200
Registered: ‎05-09-2007
Message 1 of 4 (360 Views)

RAD Error on back/cancel from a script

Hello Everyone,

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.

 

TIA

Warren

Honored Contributor
-m-
Posts: 989
Registered: ‎02-22-2011
Message 2 of 4 (351 Views)

Re: RAD Error on back/cancel from a script

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.

Trusted Contributor
warrenf
Posts: 200
Registered: ‎05-09-2007
Message 3 of 4 (348 Views)

Re: RAD Error on back/cancel from a script

Thanks. I will have a look at this.
Regular Advisor
DV_2
Posts: 132
Registered: ‎12-01-2009
Message 4 of 4 (263 Views)

Re: RAD Error on back/cancel from a script

Hi Warren, 

 

I'm also facing this error while clicking cancel button. 

 

May I know how you have fixed it?

 

Regards,

DV

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.