Skip to Content

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

Problem with "lbl.publish" transition when skip approval programmatically

Hi all ...

I am currently trying to "Skip Approval" programmatically by executing the "lbl.publish" transition, like this in a KM repository service:

IRepositoryServiceFactory repositoryServiceFactory =

IStatemanagementManager statemanagementManager = 
    (IStatemanagementManager) repositoryServiceFactory.getRepositoryService(resource, IWcmConst.STATEMANAGEMENT_SERVICE);

IStatemanagementResource sResource = 

IResourceTransition resourceTransition =

if (resourceTransition != null)

But this do not work, and instead raise this ExecMessage: <b>"You are not allowed to carry out this action"</b>

Please Help

Best regards


Former Member
Former Member replied

to skip approval and publish it directly use lbl.skip.inprogress

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