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 11, 2021

Ok. Ok.  So, I don't even need to configure prepopulate or submitted.  I just need to go to Advanced and configure as shown?  I'll test it out.


@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!