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
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!!
