Constructing the approval object with delegates

Is there an easy way to construct the approval object so that it contains all the necessary approvers, including delegates? Similar to how the product constructs the approval object on virtual id creation, if you had an organizational approver who had delegated their approval responsibilities.

I've looked at the getApprovers provisioning workflow service but it's a bit sparse with regards to an explanation and it may not be the most efficient way of doing things.

CK

[491 byte] By [crouching_kittena] at [2007-11-27 7:49:25]
# 1

I've decided to call the getObject method with the following arguments Context, <s>User</s> and the name (accountId) of a user. Then I'll call getApproverDelegate on the result of the getObject method. I'll then call the isActive method on the result of the call to getApproverDelete. And so on and so on, util I get the a List of delegates.

CK

crouching_kittena at 2007-7-12 19:30:22 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2
UpdateSimplified way would be to call getApprovals workflowservices.CK
crouching_kittena at 2007-7-12 19:30:22 > top of Java-index,Web & Directory Servers,Directory Servers...