Is there any simple method I can use in a workflow to test the checked in/checked out state of my pbo(wt.Document) so I can route accordingly?
(I've got a feeling it'll require reams of java!!!)
Many thanks,
B
Solved! Go to Solution.
if(wt.vc.wip.WorkInProgressHelper.isCheckedOut((wt.vc.wip.Workable)primaryBusinessObject)){
System.out.println("primaryBusinessObject checked out");
} else{
System.out.println("primaryBusinessObject checked in");
}
Thank you very much Yogeshi!!