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

OSGI Workflow attachment list on Assign Task

  • October 7, 2021
  • 2 replies
  • 5873 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

October 8, 2021

I will send you something soon

crich2784
crich2784Author
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
October 8, 2021

Can you attach more than 1 document in prepopulation?

crich2784
crich2784Author
October 11, 2021

@crich2784You don't nee to configure to prepopulate or submitted settings of assign task, if you are not invoking the workflow from AF submission, You may use Advanced tab, in assign task's props, if you want to attach files while reviewing the tasks. Hope this helps. Thank you!


@mayank_tiwari thank you for responding. Technically, we are starting the workflow by creating a Forms Application but, there are other workflows starting from a scheduled job.  We need attachments to work in either scenario.

 

I believe I have configured it as you describe and it's not working.  Can you send me a zip of a sample workflow?  The AF can be completely blank - it doesn't matter.  I need to know if I have a bug in my system or I'm not doing something correctly.  I can also send you my workflow.