2 Replies Latest reply on May 3, 2013 2:41 PM by Sham HC

    API changes in AEM 5.6

    sivaprasadreddys Level 1

      Hi All,      

       

      Is CQ Providing any documentation related to API changes from previous versions of CQ - CQ 5.6.

       

      Example:

      [1]

      com.day.cq.workflow

       

      [2]

      com.adobe.granite.workflow

       

      API [1] has been replaced with [2] in AEM 5.6.

       

       

      Thanks

       

      Siva

        • 1. Re: API changes in AEM 5.6
          sivaprasadreddys Level 1

          I've found the following link which has the API differences b/t CQ5.5 & 5.6

           

          http://dev.day.com/docs/en/cq/current/diff-previous/changes.html

           

          The above has list of APIs which are removed, added & changed.  But my concern is, we have developed few workflows in CQ 5.5 and now we are migrating to CQ 5.6.

           

          Example 1:

           

          [1] com.day.cq.workflow.WorkflowSession;

           

          [2] com.adobe.granite.workflow.WorkflowSession;

           

          Document says, [1] has been replaced with [2] in 5.6.    But still [1] works in 5.6. If I go for update [1] with [2]: getSession() method is removed in 5.6 version.. which I've used in several places in the CQ5.5 workflow process.

           

          How can I get JCR Session in the workflow + CQ5.6.. I need to check how we can get jcr session in 5.6.

           

          Example 2:

           

          [1] com.day.cq.workflow.exec.ParticipantStepChooser;

           

          [2] com.adobe.granite.workflow.exec.ParticipantStepChooser;

           

          In this case Participant chooser will not work, If I don't update [1] with [2] in 5.6.

           

          So what's the best approach to migrate?

           

           

          Thanks

          Siva

          • 2. Re: API changes in AEM 5.6
            Sham HC Level 7

            Hi Siva,

             

                Document request has been placed.

             

            Thanks,

            Sham

            @adobe_sham

            1 person found this helpful