Home > Forum > Actions > Not adding attachment - when using cyclical action create SQL subworkflow

Not adding attachment - when using cyclical action create SQL subworkflow
0

Hi Guys

I need your help.
I start tasks based on a workflow but attachments do not transfer.
If I do it manually as a action on path then the attachments move to subworkflow and its ok.
But if I use a cyclical action to call the same action -> "create SQL subworkflow", tasks are created but without attachments :/
Example in the attachment, I trigger the same action: Uruchom zadanie TEST (en: Run the TEST task)

I use version 2022.1.4.223

MVP

Hi,
Normally, you cannot copy attachments with a global action because the action doesn't know from which instance to copy them.
Global actions do not run in the context of a specific instance.
As I mentioned in the previous message, most likely, the enabled checkbox appears because you copied automations from the flow.
The fact checkbox is enables is most probably a bug.

Thanks,
Raluca

MVP

Hi,

By registering workflows with the global cyclical action, you can also easily copy attachments.
It is enough to add the action on the path where the workflows are registered: Add an attachment.
and in the query in which you register new workflows, you will pass to the technical field the id of the element
from which you want to copy the attachments.

Regards.