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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Invoke workbench process from AEM page

sobhan_sahu
Level 4
Level 4

Hi,

I have an AEM page where on click on a link I have to invoke a livecycle workbench process. Can anyone please help on how to achieve the same.

Thanks

Sobhan

7 Replies
sobhan_sahu
Level 4
Level 4

Any help on the above please guide if there is any way

lesutton1
Level 3
Level 3

Sobhan, are you submitting the form to an AEM process REST point or are you clicking on a URL where you'd like to render forms?

sobhan_sahu
Level 4
Level 4

Do you know how can I invoke a workbench process end point by passing an XML from within the XDP?

lesutton1
Level 3
Level 3

Sobhan, each process you create in Workbench automatically exposes a REST point that you can submit to. Copy this URL (double click on the green start point to see this) and then copy the URL into the submit action on your form. If you render the form from the same server the REST point is exposed on (recommended), you won't need to include the machine name. The default action is for the form to post the form XML data to the REST point. You'll definitely be able to see this if you turn on recording and play it back.

sobhan_sahu
Level 4
Level 4

I am struggling with something here. Please guide.

I have a standalone java web project. I am trying to invoke the AEM Workbench process from within the java code using the REST End point URL of the workbench process. I am using httpClient API of java just like we use for invoking any other rest endpoint. But this is failing and not letting me invoke.

Is it possible or we only  have to use SOAPClientFactory API to invoke workbench process from OSGI service.