- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2016 12:59 PM
Hello All,
I am not very good at scripting and have basically copied others here to get what i need.
I am trying to create a task script to do the below, but I have "Test" as a first name and "Testing" as a surname.
I currently have the below script, which show of works but I want a space between the first name and surname?
var comp = current.variables.eur_start_date.getDisplayValue();
var first = current.variables.eur_first_name.getDisplayValue();
var last = current.variables.eur_last_name.getDisplayValue();
task.short_description = 'New Account Required for'+ ' - ' + first + last + " - " + comp;
This is how it currently shows?
How can i get about sorting this out?
Cheers in advance
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2016 01:04 PM
Hi Carl,
task.short_description = 'New Account Required for'+ ' - ' + first + last + " - " + comp should be
task.short_description = 'New Account Required for'+ ' - ' + first + ' ' + last + " - " + comp

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2016 01:13 PM
Excellent. Let me know if that answered your question. If so, please mark it as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list. Thank you