Replies

Avatar

Avatar

TheBigRed

Avatar

TheBigRed

TheBigRed

05-08-2016

I've added a custom workflow step to the end of DAM XMP Writeback to move files once XMP Writeback is done.

Avatar

Avatar

ebin_Aby

Avatar

ebin_Aby

ebin_Aby

11-09-2017

hey smacdonald2008 , is there anyway i can trigger a workflow on a click of button. I want to create a tools page and onclick of button i want to start workflow . Would perfer javascript or Java

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.1K

Likes

1.1K

Correct Reply

1.1K

Avatar

Jörg_Hoh

Employee

Total Posts

3.1K

Likes

1.1K

Correct Reply

1.1K
Jörg_Hoh
Employee

11-09-2017

What is your requirement, that you want to move things around while potentially at the same time a workflow is started for it?

Kind regards,

Jörg

Avatar

Avatar

ebin_Aby

Avatar

ebin_Aby

ebin_Aby

13-09-2017

We wanted to create a tools page to delete a node eg ecom data node , where we will have a button to request deletion and once it is approved by workflow process the node is deleted and replicated to publish server .

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

13-09-2017

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.1K

Likes

1.1K

Correct Reply

1.1K

Avatar

Jörg_Hoh

Employee

Total Posts

3.1K

Likes

1.1K

Correct Reply

1.1K
Jörg_Hoh
Employee

13-09-2017

Hi,

I think I understand your usecase, but at which point comes this EventHandler into the play?

kind regards,
Jörg

Avatar

Avatar

ebin_Aby

Avatar

ebin_Aby

ebin_Aby

13-09-2017

In my senerio onclick of button start workflow and send the some parameters .

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.1K

Likes

1.1K

Correct Reply

1.1K

Avatar

Jörg_Hoh

Employee

Total Posts

3.1K

Likes

1.1K

Correct Reply

1.1K
Jörg_Hoh
Employee

13-09-2017

Ok, understood.

I think you are confused by the term EventListener.

In the AEM (backend) world the term EventListener describes a functionality, which listens for OSGI events and performs certain activities when they happen. OSGI events are sent for many things in the system; for example when a page has been created, an event with the topic "com/day/cq/wcm/core/page" is being sent.

This Event handling has nothing to do with any kind of reaction to UI/frontend actions.

Does this help?

Jörg