Hi all,
I am trying to make a switch statement inside of a task however I don't understand why this isn't working. The short description and description both come up blank when I use the function. When I remove the comment out the function the short_description and description print, but they both say undefined.
Any ideas?
Thanks in advance.
var Group;
getGroup();
task.short_description = "User (" + custom_name + ") access to Groups";
task.description = "Please add user to Groups: " + Group;
function getGroup(Group)
{
switch (current.home_id)
{
case 20: