Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Migrating workflows from AEM Forms Jee to OSGI

Avatar

Avatar
Validate 1
Level 2
BibhuNayak
Level 2

Likes

8 likes

Total Posts

21 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Validate 1
Level 2
BibhuNayak
Level 2

Likes

8 likes

Total Posts

21 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile
BibhuNayak
Level 2

05-08-2020

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.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Affirm 100
Employee
Kosta_Prokopiu1
Employee

Likes

165 likes

Total Posts

369 posts

Correct Reply

107 solutions
Top badges earned
Affirm 100
Validate 1
Establish
Give Back 5
Give Back 3
View profile

Avatar
Affirm 100
Employee
Kosta_Prokopiu1
Employee

Likes

165 likes

Total Posts

369 posts

Correct Reply

107 solutions
Top badges earned
Affirm 100
Validate 1
Establish
Give Back 5
Give Back 3
View profile
Kosta_Prokopiu1
Employee

10-08-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-...

 

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.

 

 

Answers (1)

Answers (1)

Avatar

Avatar
Ignite 1
Level 7
GirishBedekar
Level 7

Likes

167 likes

Total Posts

239 posts

Correct Reply

37 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile

Avatar
Ignite 1
Level 7
GirishBedekar
Level 7

Likes

167 likes

Total Posts

239 posts

Correct Reply

37 solutions
Top badges earned
Ignite 1
Give Back 5
Give Back 3
Give Back 10
Give Back
View profile
GirishBedekar
Level 7

11-08-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-f...