set theDelegatedTask to make task with properties {{name:my buildTaskName(delegatedPrefix, delegatedTo, name of selectedTask), note:("Delegated on: " & (current date) as string) & return & return & (note of the selectedTask) as string, context:theDelegatedContext}}