Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Invoking long lived process by watched folder?

Avatar

Former Community Member

Hi,

I have to build a long lived process that starts when xml data is dropped into a folder.

Once the xml is received it should be populated in the form and assigned as a task in Process Management.

Long lived process should be defined  with a task manager end point but when using watched folder to invoke process it is a watched folder..

How can I define such a process?

Thanks, Yan

1 Accepted Solution

Avatar

Correct answer by
Level 8

Hi Yan,

actually, the process doesn't need to have a task manager end point. The task manager end point is only used if you want users to start the process from Workspace.

For your process, use a watched folder end point. In the process, the first step is an Assing Task operation that uses the xml data that you dropped in the watched folder (assuming the xml is in the correct structure for the form you are using).

scott

View solution in original post

2 Replies

Avatar

Correct answer by
Level 8

Hi Yan,

actually, the process doesn't need to have a task manager end point. The task manager end point is only used if you want users to start the process from Workspace.

For your process, use a watched folder end point. In the process, the first step is an Assing Task operation that uses the xml data that you dropped in the watched folder (assuming the xml is in the correct structure for the form you are using).

scott