OSGI Workflow attachment list on Assign Task | Community
Skip to main content
crich2784
Level 6
October 7, 2021

OSGI Workflow attachment list on Assign Task

  • October 7, 2021
  • 2 replies
  • 5901 views

 

Hello,

 

I am trying to understand how to pass Attachments from one Assign Task to another. 

On the submission, I can see that I can add a Variable Array of Documents.  That works, all is good.

However, on the subsequent Assign Task, in the pre-populate section, I do not see the ability to assign a Variable Array to the prepopulation.

 

Does this mean that we must write the document Array to the payload?

Actually, that wouldn't work because we can only attach one document to the Prepopulate in Assign Task.

 

If somebody could explain this to me, it would be great.

 

Thanks,  

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

2 replies

Level 8
October 8, 2021

I will send you something soon

crich2784
crich2784Author
Level 6
October 8, 2021

It looks like this is getting attachments from an attach button on the actual adaptive form.

 

Maybe you already know this but I am talking about the attachment feature in the inbox task assignment. Do I have to write code to make this useful?

Mayank_Tiwari
Adobe Employee
Adobe Employee
October 8, 2021

@crich2784 attachment should be the part of payload, then only it can be passed to Assign Task operation, as shown below:

 

 

crich2784
crich2784Author
Level 6
October 8, 2021

Can you attach more than 1 document in prepopulation?

Mayank_Tiwari
Adobe Employee
Adobe Employee
October 8, 2021

You switched from Assign Task operation to Adaptive form component.  I am asking if I can attach more than one documents to a workflow in one step and then, see them in a se seque y step - not using the attach file component in an adaptive form.


as per my previous response, you can't assign a document array variable as the attachment in assign task operation, as it accepts the attachments from the payload only. So, you better use a file attachment component in the form to achieve this use case.