Hello,
Looking for a bit of advice, I've added the below script, and it pulls through the details as required, however it adds the description_to_add twice.
Also, unless I this to On Create only, if the Request is Edited it adds another two lines each time it's edited. I can keep it at On Create Only if required.
var existing_description_content=$CS.getDescription();
var o=$CS.getValue("WorkOrder_Fields_UDF_CHAR14");
var d=$CS.getValue("WorkOrder_Fields_UDF_CHAR15");
var c=$CS.getValue("WorkOrder_Fields_UDF_CHAR7");
var r=$CS.getValue("WorkOrder_Fields_UDF_CHAR49");
var f=$CS.getText("WorkOrder_Fields_UDF_CHAR9");
// Send to Description
var description_to_add="Contact Name:"+o+", Contact Number:"+d+", VNC Number:"+c+", Computer Name:"+r+", Type of PC:"+f;
$CS.setDescription(description_to_add+"<br>"+existing_description_content);
Anybody any ideas on how to stop it adding a the second line in?
This is on our test server which s 9.3 Build 9318, however our production environment is still on 9311.
Thanks,
Lisa