Dynamic Fields - Execute Script - Set Subject field based on Additional Field content

Dynamic Fields - Execute Script - Set Subject field based on Additional Field content

Hello,

I would like to set the Subject field to be the concatenated value selected under 2 additional field's selection.

For example if they select UDF_CHAR12 - Hardware Issue and UDF_CHAR13 - PC Laptop, then I would like the subject line to show Hardware Issue - PC Laptop.

So far I haven't even been able to get it to display the first value.  I've tried using the below script that I found under another query.

var x=$CS.getValue("WorkOrder_Fields_UDF_CHAR12");
$CS.setValue("SUBJECT",x);

This displays Not Specified in the Subject field.

Anyone got any ideas?

Many thanks,

Lisa

Your Version : 9.1 Build 9121



              New to ADManager Plus?

                New to ADSelfService Plus?