tag:blogger.com,1999:blog-2931801055574939054.post7122237215433950442..comments2024-03-28T02:26:29.934-07:00Comments on iPaaS@ORACLE.CLOUD: Canceling a running composite instance - exampleNiall Commiskeyhttp://www.blogger.com/profile/18194777332788452768noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-2931801055574939054.post-35603179792195079082011-10-07T00:49:04.432-07:002011-10-07T00:49:04.432-07:00Hi,
Thank you for your extremely helpful post. I...Hi, <br /><br />Thank you for your extremely helpful post. I can purge the composite instance quite easily. However, I have a scenario that I hope it is achievable. <br /><br />In case that I have a main process, which will in turn references a number of sub-process and human task. I do not want to kill the main process, because I still need it to return something. But I need to kill all sub-processes and human tasks. From CompositeInstance, I can get the list of componentInstances belong to this compositeInstances. For Human Task, I can use ITaskService to kill it, with the workflowId References in the componentInstance. But with sub-processes, I cannot find the sub-processes instance to kill it. I wonder if my approach is correct, or we have another better solution for it?<br /><br />Thank you so much. <br /><br />Best regards,<br /><br />HarryHarry Dinhhttps://www.blogger.com/profile/00459785881031502624noreply@blogger.com