Skip to Main Content

Integration

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

Abort the Running BPEL 10.1.3.1 Instances

Tapan SharmaMay 1 2017 — edited Feb 26 2020

Hi,

I wants to Abort the Running BPEL 10.1.3.1 instances deployed on OC4J container.

Using the below code snippet to do the same.

Locator locator = new Locator("domainname", prop);

WhereCondition whereProcessId = new WhereCondition("process_id = ? and CI_STATE = ?");

whereProcessId.setString(1, "myprocessname");

whereProcessId.setInt(2, 1);

  whereProcessId.append("ORDER BY CI_Creation_Date desc");

IInstanceHandle[] instanceHandles = locator

  .listInstances(whereProcessId,0,50);

Wants to know if this is the correct approach or we have a different way to do the same ?

Thanks,

Tapan

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 30 2017
Added on May 1 2017
2 comments
106 views