Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi
Can anyone provide java code to complete wt.workflow.work.WorkItem. And how can i get primaryBusinessObject from WorkItem?
Thanks.
you can use this code to get the PBO
PersistentReference persistance = workItem.getPrimaryBusinessObject();
Object object = persistance.getObject();
if (object != null)
{
return object ;
}
return null;