Passing flow variables to a captured workflow
Hi everyone,
I’m trying to reuse a workflow segment using the capture workflow option. The situation is as follows:
Workflow 1: I have a linked component that generates a flow variable called es_prueba. Right after this component, I captured a segment and stored it as Workflow 2.
Workflow 1:
Workflow 2:
Workflow 3: From here, I call Workflow 2, connecting it beforehand with the same component from Workflow 1.
When I run it, I get the following error:
Execute failed: Failure, workflow was not executed, current state is IDLE.
CASE Switch Start 3:5: Errors loading flow variables into node :
Errors overwriting node settings with flow variables: Unknown variable "es_prueba".From what I understand, the error happens because Workflow 2 does not find the es_prueba variable, since it is generated inside the component that was not included in the captured segment.
I’m also not sure if I configured the workflow capture correctly. In fact, I’m not even sure this is the most logical way to achieve what I want.
Does anyone know the correct way to pass this variable into a captured workflow when it’s executed from another one?
Thanks in advance!