Sub-Workflow doesn't work

Hi @KimSa,

Thanks for the screenshot!

It looks like the Launch Variables haven’t been defined in your sub-workflow, which is why the Run Workflow block isn’t accepting the configuration.

I recommend remixing the sample Agents that use the Run Workflow block to see how it’s set up:
https://community.mindstudio.ai/t/troubleshooting-guide-101/71#p-104-run-workflow-block-error-7

Here are the key steps:

  1. Add another workflow to your Agent
  2. Define Launch Variables in the Start block of the sub-workflow (data you’ll pass to the sub-workflow)
  3. Add a key-value pair in the End block (data that will be returned to the main workflow)
  4. Configure the Run Workflow block in the main workflow

These steps are also shown in the video you shared at 2:15:

Hope this helps!