Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

retrieve list of approvers programmatically

I've developed a repository service that dynamically resets the permissions of a document created in KM based on the creator of the document. I'd also like to base the new permissions on who is listed as approvers in the approval workflow of the folder. What code would I use to retrieve a list of all approvers of the KM folder the document's created in?

Thanks in advance for any help!

- Fallon

Former Member
Former Member replied

Hi Fallon,

I can't provide an actual code sample, but I have a direction.

<b>IStatemanagementUtilsResource</b>:

http://media.sdn.sap.com/html/submitted_docs/nw_kmc/javadoc/com/sapportals/wcm/repository/service/statemanagement/IStatemanagementUtilsResource.html

<b>IStepList</b>:

http://media.sdn.sap.com/html/submitted_docs/nw_kmc/javadoc/com/sapportals/wcm/repository/service/statemanagement/IStepList.html

I didn't find how to get an actual instance of one of them, though.

Perhaps decompiling the jar files mentioned in the top of those pages can offer some more insight.

Hope that helps,

Yoav.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question