If I use GUI to complete a job instance, it actually isn't deleted but marked as completed. How can I achieve the same behavior using IcJava?

If I use GUI to complete a job instance, it actually isn't deleted but marked as completed. How can I achieve the same behavior using IcJava?

book

Article ID: KB0087541

calendar_today

Updated On:

Products Versions
TIBCO InConcert -
Not Applicable -

Description

Resolution:
You can recursively complete the root task of the job you want to complete.

IcJob job = ...
IcTask rootTask = job.getRootTask();
rootTask.completeRecursive();

Issue/Introduction

If I use GUI to complete a job instance, it actually isn't deleted but marked as completed. How can I achieve the same behavior using IcJava?