Working with viewflow, you may need to assign some tasks in bulk. Here is a function to get you started
The function accepts an ajax request with data including the:
- assigned tasks -assigner i.e the person assigning the task -supervisor i.e person supervising the task