new ProcessInstance() Methods getTasks() Fetches tasks of a process instance. select() Call this function when a process instance is selected. It triggers the processInstance:selected event.