Skip to Content
Approval process can easily be initiated for a folder in Portal Content management thorough Standard admin interfaces. However it is very normal to have requirements to automate the approval process based on organization structure. This can easily achieved by writing few lines of java code (Thanks to SAP’s portal service concept).
Almost all features in Content Management are implemented as repository services. State management Manager service is one of them. It helps in managing state of the content in content management. Follow the following procedure in your java iView to automate approval process

1. Get a reference to Statemanagment manaer service

2. Get the statemanagement resource & enable approval process for the resource collection.

3. Finally read existing approver list, add new approvers and save the Approver step list. Note that approver list starts from index 0 not from 1 as displayed content admin iViews.

To report this post you need to login first.


You must be Logged on to comment or reply to a post.

  1. Former Member
    Hey Arul,

    Can i do this automation at content element level(file)rather than folder, based on properties/metadata of file.can u pls share u r views

    Raja Sekhar

  2. Former Member
    Hi Arul,

    I found your blog helpful.

    Have a query :   can we auto approve a document when it comes to a repository using the statemanagement service?

    Please guide me.


  3. Former Member

    I have the workflow in 3 steps approval process. If i edit the content of the document in between the approval process and resubmit it for approval means i will once again start from the first step of approval. Is there any possibilities to continue in next step of approval.

    Thank You
    Krishnamurthy K


Leave a Reply