resumeTask vs applyChanges

resumeTask vs applyChanges

What is the difference?


Hi ,
Both are different operation…
resumeTask is more over related to task life cycle.A suspended task can be resumed (placed back into Active status) by a manual user action or as the result of a task event evaluation.
applyChanges will save the changes made to specific task.Suppose from UI you need to update some BusinessData.In this case to save the changes we need to call getTask().applyChanges(); before calling getTask2().completeTask().

Baharul Islam