Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. 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;
