Rendering Exception error

Rendering Exception error

Hi,

I have a new employee template setup in the Request Catalog with several resource boxes and field & form rules. Amongst other requirements, the hiring manager must fill in the full name and start-date of the new employee. To ease the overview for the Servicedesk technicians, I created a field & form rule that disabled the subject, and created a script that automatically updated the subject with the name and start-date of the new employee.

If I create the request as a technician it works as intended. However, if I create it as a user it produces a Rendering Exception error. If i disable the "Disable Subject" rule, it also works, but then it won't update the subject with the information in the request. I have tried updating the column view per recommendation in other request, but this does not help.

The script I'm using is this;

var subject=$CS.getValue("SUBJECT");
var name=$CS.getValue("RES_306_QUS_308");
var startdate=$CS.getValue("RES_306_QUS_314");

if($CS.isFormSubmit())
{
$CS.setValue("SUBJECT", "New Employee (HQ): " + name + " on " + startdate); 
}   

I'd appreciate any input on this issue, thanks.


Your Version 9.2 Build 9235

                  New to ADSelfService Plus?