I posted about this before but the issue seemed to disappear so i deleted the thread. However, it seems to have returned..
We have created an additional incident field which pulls from the User's entity with "Primary email IS NOT empty" criteria.
I have created a short script to update the subject based off the information in that field:
- var fullName=$CS.getValue("udf_pick_3302");
- $CS.setValue("SUBJECT","Leaver Form for: " + fullName);
However, what we get as the subject is:
Leaver form for: 1382
(number changes based on user selected.)
The fact this worked sometimes makes me think that I shouldn't need to pull from a property in the script but if I'm meant to, what property should it be?
I've checked the patch notes for 14940 and cant see anything that looks like a fix.. Anyone know why the script isn't pulling a name?
Thanks,
Stephen