Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subflow does not start when not started from starting node #1354

Open
tbi88 opened this issue Mar 13, 2024 · 1 comment
Open

subflow does not start when not started from starting node #1354

tbi88 opened this issue Mar 13, 2024 · 1 comment
Assignees
Labels
backend bug Something isn't working

Comments

@tbi88
Copy link

tbi88 commented Mar 13, 2024

Describe the bug
I have a workflow which runs itself again as a subflow. The starting node is set to some node in the workflow. When the execution is triggered, nothing is happening. The workflow is not starting at all and aborted after a while. When running the subflow from the workflows starting node, it works fine.

I need to do it like that, since the API is using pagination and therefore need to have a loop to gather all data. Maybe there is a better option for that anyway?

To Reproduce
build a workflow like seen in the screenhots.

Expected behavior
workflow should start from the chosen node.

Screenshots
SCR-20240313-gufi

SCR-20240313-guhu SCR-20240313-gujq

** Debug logs**

bla:~$ docker logs a7a52f5d1ec3 2>&1 | grep d9b2a5e7-7d94-42be-8862-614e556e0497
2024/03/13 07:00:47 [DEBUG] Ran worker from request with execution ID: d9b2a5e7-7d94-42be-8862-614e556e0497. Worker URL: http://shuffle-workers:33333/api/v1/execute. DEBUGGING:
docker service logs shuffle-workers 2>&1 -f | grep d9b2a5e7-7d94-42be-8862-614e556e0497

bla:~$ docker service logs shuffle-workers 2>&1 | grep d9b2a5e7-7d94-42be-8862-614e556e0497
shuffle-workers.1.gn5ikdzc41ak@soar-worker-01    | 2024/03/13 06:00:42 [INFO][d9b2a5e7-7d94-42be-8862-614e556e0497] Status: EXECUTING, Results: 3, actions: 9
shuffle-workers.1.gn5ikdzc41ak@soar-worker-01    | 2024/03/13 06:00:42 [INFO][d9b2a5e7-7d94-42be-8862-614e556e0497] shuffle.Actions: 9 + Special shuffle.Triggers: 0
shuffle-workers.1.gn5ikdzc41ak@soar-worker-01    | 2024/03/13 06:00:42 [INFO][d9b2a5e7-7d94-42be-8862-614e556e0497] Inside Decide execution with 3 / 9 results (extra: 0). Status: EXECUTING
shuffle-workers.1.gn5ikdzc41ak@soar-worker-01    | 2024/03/13 06:01:12 [DEBUG][d9b2a5e7-7d94-42be-8862-614e556e0497] Rechecking execution and it's status to send to backend IF the status is EXECUTING (EXECUTING - 3/9 finished)
shuffle-workers.1.gn5ikdzc41ak@soar-worker-01    | 2024/03/13 06:01:12 [DEBUG][d9b2a5e7-7d94-42be-8862-614e556e0497] Should send full result for execution to backend as it has 3 results. Status: EXECUTING
shuffle-workers.1.gn5ikdzc41ak@soar-worker-01    | 2024/03/13 06:01:12 [DEBUG][d9b2a5e7-7d94-42be-8862-614e556e0497] NEWRESP (from backend): {"success": true, "reason": "success"}
@frikky frikky added bug Something isn't working backend labels Mar 13, 2024
@frikky
Copy link
Member

frikky commented Apr 25, 2024

@0x0elliot status?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

3 participants