Migrating workflows from AEM Forms Jee to OSGI | Community
Skip to main content
August 5, 2020
Solved

Migrating workflows from AEM Forms Jee to OSGI

  • August 5, 2020
  • 2 replies
  • 1745 views

Hi,

 

We have couple of workflows running on AEM Forms JEE. We are thinking of using the similar workflow in OSGi. To start with rendering a PDF form using a xdp. I created the workflow and given the payload through an absolute path where the xdp is located. When I started the workflow, all I got is a notification in inbox where only I could see the xdp as payload and option to complete/delegate the task etc.

 

I was interested to see if the PDF document comes as an output from the workflow as it used to be in osgi. Also, I could not find an option to make a variable as input or output, so that when the workflow gets invoked it would ask for an input variable and would show the output.

 

Thanks,

Bibhu.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Kosta_Prokopiu1

Hi,

first of all see this URL which is one of the very few practical examples documented that I could find.

https://khushwantsehgal.wordpress.com/2019/04/14/use-aem-workflow-to-convert-an-xdp-document-to-pdf-document/

 

I have been a LiveCycle / JEE developer since the beginning of times. Honestly, AEM Workflow is no replacement for the orchestration engine in JEE. You can replace some aspects of render services etc and maybe some very basic interactive flows with users - but that is way more simplistic compared to the JEE engine. You cannot migrate a JEE solution with all its aspects to OSGi. If you start a fresh OSGi based system/project then you probably have completely different use-cases where the capabilities might match.

You can write your own services or extend the workflows with Java based custom steps - but that is more geek stuff than was required in JEE - still it is possible to integrate workflows in custom services and offer SOAP or watched folders for batch invocation. AEM workflows are not like orchestrations which become services with end-points automatically.

 

 

2 replies

Kosta_Prokopiu1
Adobe Employee
Kosta_Prokopiu1Adobe EmployeeAccepted solution
Adobe Employee
August 10, 2020

Hi,

first of all see this URL which is one of the very few practical examples documented that I could find.

https://khushwantsehgal.wordpress.com/2019/04/14/use-aem-workflow-to-convert-an-xdp-document-to-pdf-document/

 

I have been a LiveCycle / JEE developer since the beginning of times. Honestly, AEM Workflow is no replacement for the orchestration engine in JEE. You can replace some aspects of render services etc and maybe some very basic interactive flows with users - but that is way more simplistic compared to the JEE engine. You cannot migrate a JEE solution with all its aspects to OSGi. If you start a fresh OSGi based system/project then you probably have completely different use-cases where the capabilities might match.

You can write your own services or extend the workflows with Java based custom steps - but that is more geek stuff than was required in JEE - still it is possible to integrate workflows in custom services and offer SOAP or watched folders for batch invocation. AEM workflows are not like orchestrations which become services with end-points automatically.

 

 

August 11, 2020

Thanks for your response. Yes LiveCycle developers have become an endangered species these days.  😀

If Adobe could share any migratory tool which could migrate/convert JEE workflows to OSGi workflows it would be really helpful.

August 11, 2020

You will probably have to write a simple REStful service to do that 

follow this documentation which has sample assets to get you a head start

https://docs.adobe.com/content/help/en/experience-manager-learn/forms/document-services/output-and-forms-services-article-develop.html