cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Complete WorkItem

VasiliyRepecki
1-Newbie

Complete WorkItem

Hi

Can anyone provide java code to complete wt.workflow.work.WorkItem. And how can i get primaryBusinessObject from WorkItem?

Thanks.

1 REPLY 1

you can use this code to get the PBO

PersistentReference persistance = workItem.getPrimaryBusinessObject();

Object object = persistance.getObject();

if (object != null)

{

return object ;

}

return null;

Top Tags