Included flows

Are Included flows possible in Flow Connect? I have a large number of flows from Flow Classic that I want to import into Flow Connect. I need to be able to link flows in this way.

Thank you.

By included flows, do you mean be able to go from one app to another? Or, do you simply want to import a .wap file? If it is the first option, there is no way to currently do this. If it is the second, I do not think it is possible to import into the web designer. But, you can do it in the legacy designer. To open legacy designer, first download the Flow Connect Designer, open it, then File, Import Archive.

Yes I mean the first option; going from one flow (app) to another. An example is below; There is an included flow called “LM_Selected” and the step “LM Workflow” calls that Flow and passes in the variables _sales_contract_name and _sales_contract_desc to it.

If it isn’t possible to do this in Flow Connect then I have a problem.

I see. These “sub-workflows” are called “Assets” and/or “Components” now. This is standard functionality with Connect.

Thanks, I have been able to bring the workflow I want into the “source” flow as a package asset but I want to pass variables to the ”destination” flow from the “source” flow.

Se screen cap below of “source” flow.

The variables are declared in the destination flow (sales_con_name and sales_con_desc) and I want to assign sales_contract_name and sales_contact_desc from the source flow to them. Sales_contract_name and sales_contact_desc are outputs selected from combo boxes that you can’t see in the source flow btw.

It must be possible to pass variables to an asset? I don’t have the syntax right perhaps.

I think the syntax is good. But maybe data-type conversion issues? What does the error message say if you hover over the red lines?

I tried It a different way but I am still getting an error (second screencap below).
The intellisense is detecting the two variables I have declared in the package asset (flow) I am pointing the arrow to (LMSelected);
let sales_con_name and sales_con_desc
The two values I want to assign it to are _sales_contract_name and _sales_contact_desc (coming from user steps earlier in the New UK Manuf Project flow).
I am familiar with FlowScript from Flow Classic, it’s my first time using FlowScript in Flow Connect.

The Flowscript step is in the first screencap.

Any help would be appreciated.

I do not think you can use flow script in that window; it is just what will be passed to the component’s start step. See it as json, similar to a REST request body if you have worked with that.

If you want to modify your data, do that in a flow script step before the component.

I also think it might be a bit easier if you use the web-based designer; it should help you with the parameters, I believe. So if you have a chance to switch to that, it could help.

OK thanks, I will have to change the way I am calling the sub flow so. I am a little surprised this is so difficult to do in Flow Connect. In Flow Classic there is a dedicated Workflow Element for it. All you had to do was drag it to the canvas.

It’s the same i classic, you would need to map you variables to what you have in the start step of the fragment. What adds some complexity in Connect is that we now have data types and null. It adds some complexity but also some control.

Have you done the Create app training? Let me know if you need an invite to it if you would be interested.

Thank you, yes I would like to try the Create App training. If you can send me a link I will give you my email address.

I can import and understand “singular” flows in Flow Connect (flows that don’t have included flows).

I need to know how to do that in Flow Connect and pass variables to and from the included flows.

I figured it out with the help of one of my colleagues. Thanks for the replies

1 Like