Problem/Motivation

I'd like to be able to add a subprocess to my model.

Steps to reproduce

1. create a new model
2. add a task
3. add a second task
4. save the model
5. convert the second task to a subprocess
6. save
7. Get this error: "A component can not be added."

I dont' see any errors/messages in the logs

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

zdean created an issue. See original summary.

jurgenhaas’s picture

There is currently no support for subprocesses. How did you convert an action to a subprocess?

What you can do, though, is the use of custom events.

jurgenhaas’s picture

Category: Bug report » Support request
Priority: Major » Normal
zdean’s picture

I'm trying to generate nodes from a JSON list. There are 2 limitations that subprocess solves:

1. using only custom events triggers a 2 loop limit on recursive cycles. there's no way (in settings) to bump this limit without touching code...hoping not to touch code. Would be great if we could add this to settings or the model configuration
2. I was able to solve it using Queues but that requires running cron (so it's not immediate)

Subprocesses seems to resolve both of these issues if they were available.

To convert an action to a subprocess:
1. add an action to the model board
2. save the model
3. click on the action to see the "wrench" icon...see attachment Screenshot 2026-02-22 at 10.42.50 AM.png (this isn't visible without the Save action)
4. clicking on wrench gives you subprocess options...see attachment Screenshot 2026-02-22 at 10.42.56 AM.png

jurgenhaas’s picture

Version: 3.0.10 » 3.1.x-dev
Category: Support request » Feature request

Well, that's a nice idea, but not reality. Maybe some future version of ECA well support that, bit for now, it's not available. I'll turn this into a feature request.

jurgenhaas’s picture

Title: Subprocess error » Add support for subprocesses