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.

4 Comments

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

  1. Sumit Oberoi
    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.

    Sumit

    (0) 
  2. krishnamurthy k
    Hi

    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
    Regards
    Krishnamurthy K

    (0) 

Leave a Reply