I dont want to create task report and queryprocessanalytics to do get the status. Is there any other easy way of getting it?
Discussion posts and replies are publicly visible
The easiest way of doing this is by using Task Report and queryprocessanalytics functions. You can create a task report which will be generic report with All task Context and from the report you can get the status based on taskID, You can create seperate expression rule which will take taskId as an input and in that expression rule you can use queryProcessAnalytics function and it will return the status of the particular taskId.