Expand my Community achievements bar.

SOLVED

Workflow with multiple payload

Avatar

Former Community Member

Hi,

I have a requirement where user needs to select asset from a UI and a workflow to be initiated. User can select multiple asset from that screen, so i need to upload a single workflow instance with multiple payload.

Can anyone provide any sample documentation or code how this can be done. I am looking for a code snippet which can help me in initiating a workflow with multiple payload programmatically.

Thanks !!

Regards,

~TD

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,

the payload can only be a single "item", but this item can also be a package. See the documentation on workflow packages [1][2].

kind regards,
Jörg

 

[1] http://docs.adobe.com/docs/en/cq/5-6-1/workflows/wf-using.html#Using%20Workflows%20for%20Batch%20Pro...

[2] http://docs.adobe.com/docs/en/aem/6-0/develop/extending/workflows/wf-extending.html#Handling%20Workf...

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

Hi,

the payload can only be a single "item", but this item can also be a package. See the documentation on workflow packages [1][2].

kind regards,
Jörg

 

[1] http://docs.adobe.com/docs/en/cq/5-6-1/workflows/wf-using.html#Using%20Workflows%20for%20Batch%20Pro...

[2] http://docs.adobe.com/docs/en/aem/6-0/develop/extending/workflows/wf-extending.html#Handling%20Workf...