Hi,Thanks for your reply, what I am trying to do is set the assignee dynamically in the task, i.e. set a variable in a javascript just before the approval task based on the context of some sort and use that variable as the assignee in the approval task.Jeremy