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

How to expose an AEM Forms OSGi workflow as REST/SOAP endpoint

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

18-06-2020

Hi All,

 

In AEM Forms JEE workbench after creating a workflow we could expose it as a REST/SOAP endpoint. How can we do the same in OSGi workflow?

 

Thanks,

Bibhu. 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
MVP
BrianKasingli
MVP

Likes

613 likes

Total Posts

590 posts

Correct Reply

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

Avatar
Establish
MVP
BrianKasingli
MVP

Likes

613 likes

Total Posts

590 posts

Correct Reply

231 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
BrianKasingli
MVP

08-11-2020

Hi @BibhuNayak,

Yes, you can start a new workflow instance via HTTP request, POST method.


Method:
POST

Endpoint:
http://localhost:4502/etc/workflow/instances

 

Creates a new workflow instance. The parameters are:
model: the ID (URI) of the respective workflow model
payloadType: containing the type of the payload (for example JCR_PATH or URL).
The payload is sent as parameter payload. A 201 (CREATED) response is sent back with a location header containing the URL of the new workflow instance resource.

 

Documentation can be found here, https://experienceleague.adobe.com/docs/experience-manager-65/developing/extending-aem/extending-wor...

Answers (0)