How to retrieve task details with TWSearch

TWSearch The JavaScript object of type TWSearch can be used to perform a search. It has three primary methods: · execute() · executeForProcessInstances() · executeForTasks() The TWSearch object has a number of properties that are used to govern the data queried for and returned. TWSearch.columns The columns of data to be returned. TWSearch.conditions The queries to be executed (of type TWSearchCondition ). A call to TWSearch using the execute() method can return a TWSearchResults object. Scenario: User wants to get details about a task details to display on coaches. If you know the instance name and you would like to fetch details like who is holding the task, who assigned this task, if its open or closed, the task subject, priority etc. Solution...