Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Capture form Data while catching Task Create events -

Avatar

Former Community Member

Hi,

 

I want to create any asynchronous event to trigger when a new task is created in particular process. I did the event filters and able to capture the task Id and process Id for that created task. However, I could not find a way to get the xml data associated with the task.

(My Assigntask contains form template and input xml )

I see that in 8.2, there was a service called 'AddAttachmentsToTask' and operation called 'getFormAssociatedWithTask'  to capture the related data using task Id. I'm not seeing that in ES 2.5.

Your help is highly appreciated.

Thanks,

krishna

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

You can throw the event along with the form data as Event Message Data :

Event.jpg

Hope this helps.

Thanks,

Wasil

View solution in original post

4 Replies

Avatar

Correct answer by
Employee Advisor

You can throw the event along with the form data as Event Message Data :

Event.jpg

Hope this helps.

Thanks,

Wasil

Avatar

Former Community Member

Hi Wasil,

  I want to catch the events without manually throwing them. I want to know to capture the event along with form data when a task is assigned to a user?

Regards,

krishna

Avatar

Former Community Member

Hi Wasil,

 

My scenario is somewhat related to the above link. However, with the help of your earlier post, i could get the solution for my problem. Thanks again for your prompt response.

Regards,

Krishna