Hi guys,

Recently I'm trying to try the task management API. I have some places confused a little bit, so hope I can get some ideas from you.

  1. What's the difference between .setTaskId() and .setParentTaskId()?
    I'm assuming if I only setTaskId, only the child task will be cancelled. If I setParentTaskId, all the children tasks will be cancelled too.

  2. Related to 1), is it possible that one task has parent and also has grandParent? If so, what's the behavior for canceling parent task?
    For example I have Task A. Task A has child Task B and Task B has child Task C: A -> B -> C
    If I send a CancelTasksRequest with parentId set to B, will B and C get cancelled and A still alive?


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.