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

SOLVED

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

BibhuNayak
Level 2
Level 2

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. 

1 Accepted Solution
BrianKasingli
Correct answer by
Community Advisor
Community Advisor

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

View solution in original post

1 Reply
BrianKasingli
Correct answer by
Community Advisor
Community Advisor

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

View solution in original post