2 Replies Latest reply on Jan 11, 2008 2:52 PM by Nagesh Mamillapalli

    Canceling a processinstance and its taskinstances

    Nagesh Mamillapalli Newbie

      Hi,

      I have a reuiqrement to cancel a processinstance and all its open taskinstances. Right now I am using the processInstance.suspend(); method and have the doubt that it is not write.

      Do i need to use the processInstance.end(); method? will it close all the open state taskinstances also?

      When is the iscanceled_ will be populated for a taskinstance?

      I will appreciate if some answers my questions.

      Thanks
      Nag