Home > Forum > Processes > How to "copy" item list from other flow / selected attachments

How to "copy" item list from other flow / selected attachments
0

I do process where:

Part I

1. On start, in first step, in form, in field = dropdown list,
I pick te signature of other flow (different proces in particular step ID)

2. Then the fields are filled with data from that chosen flow
form is full of data (thats OK)

3. And NOW In that chosen flow I have got Item list
how to by picking from dropdown list filled new itemlist with data ?

I created action (theoretically is working) but ... how to "attach" that action to dropdown list?

Part II
the same case but Attach attachments from other flow - and connect this with dropdown list?
--extra--
pick chosen attachments not all


I guest I will need to do something related with:
https://community.webcon.com/forum/thread/3240
or
https://daniels-notes.de/posts/2023/copy-attachment-to-other-workflow

or maybe is easier way?

MVP

Hi Paweł,
You should be able to solve both topics without need to use API.

Part 1.
You could solve it in few ways:
1. If you've already created an action, you could make it visible on top menu button, and execute it using INVOKE MENU ACTION function on change of field containing ID of source document (it is a built in function).
2. Configure initialization* on the list, and use INITIALIZE form rule on change of field containing ID of source document (it is a built in function).

* https://docs.webcon.com/docs/2023R3/Studio/Process/Attribute/Basic/Itemlist/ILConf/ILConf_Init/#2-initialization

Part 2.
You should be able to use standard Add attachment* action, as you are adding from other documents, to current one. It's harder the other way.

* https://docs.webcon.com/docs/2023R3/Studio/Action/Attachments/Action_AddAttachment