2 Replies Latest reply on Oct 16, 2012 5:13 PM by Yogesh Upadhyay

    CQ5.5 workflow to approve new users?

    stewa52 Level 1

      How would I create a custom workflow to approve new users that sign up?

        • 1. Re: CQ5.5 workflow to approve new users?
          rush_pawan Level 4

          I hope you have/will have front end application which takes users information and finally submits information to system. Also i assume that you are handling that request using servlet/service and creating users in repository (preferably inside /home/users).

           

          You can write workflow on creation of user (node type rep:user) node and assigning of previleges will be triggered when approval happens for that node. You have to write a custom processor componet which will be executed when approval happen and update the ACL information to corresponding "rep:policy" node under user node.

           

          I hope above will help you to get some idea.

          1 person found this helpful
          • 2. Re: CQ5.5 workflow to approve new users?
            Yogesh Upadhyay Level 4

            Some thoughts ....

             

            You can create a event handler (Or workflow Launcher) to trigger a workflow on cq:User create node. Event handler will also disable that user on sign ups through some custom proeprty. Then workflow script will enable that property after approval. This will require some custom implemetation.

             

            Yogesh

            1 person found this helpful