Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
0 Kudos
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.


4 Comments