Workflow Triggering

Avatar

Avatar

narayanad670284

Avatar

narayanad670284

narayanad670284

06-08-2019

I have a functionality where the workflow should be triggered based on the user click event i.e push. I know that workflows are triggered for activate and deactivate but how do I customize the workflow to get triggered when user clicks push. Push icon is being added by us in the UI.

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

06-08-2019

you can use Java API to trigger workflow programmatically, on push button you can call servlet which uses the API with Payload

Adobe Experience Manager Help | Invoking Adobe Experience Manager Workflows using the AEM Java API

Answers (2)

Answers (2)

Avatar

Avatar

joeb21688728

Avatar

joeb21688728

joeb21688728

07-08-2019

Only way is to use Java API as Arun has referenced.

Avatar

Avatar

narayanad670284

Avatar

narayanad670284

narayanad670284

07-08-2019

That works, thanks