You need to prefix the user name with `#` if you use setTaskActivator() like this:setTaskActivator():
task.setTaskActivator("#username")
To set the activator to a role this is not needed:
task.setTaskActivator("RoleA")
You need to prefix the user name with `#` if you use setTaskActivator() like this:
task.setTaskActivator("#username")task.setTaskActivator("#username")
To set the activator to a role this is not needed:
task.setTaskActivator("RoleA")