Workflow with multiple payload | Community
Skip to main content
October 16, 2015
Solved

Workflow with multiple payload

  • October 16, 2015
  • 1 reply
  • 1607 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

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%20Processing

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

1 reply

joerghoh
joerghohAccepted solution
Employee
October 16, 2015

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%20Processing

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