Inconsistent Behavior: Python Script Execution in Detail View Does Not Continue Workflow

Description:

When executing a Python script node, there are two ways to run the script:

  1. In the normal view of the Python dialog.

  2. In the detail view, where debug output is displayed in the console.

However, an inconsistency occurs when running the script in the detail view:

• The script executes correctly, and debug output is shown in the console.

• However, the node remains yellow and does not transition to green, meaning the workflow does not continue.

• To proceed, I have to run the script again in the normal view, which disrupts the workflow.

Expected Behavior:

• After a successful execution in the detail view, the node should transition to green, and data should be passed on to the next nodes—just as it does when executed in the normal view.

Steps to Reproduce:

  1. Add a Python Script node to a workflow.

  2. Open the node and execute the script in the detail view.

  3. Observe that the script runs and debug output appears in the console.

  4. However, the node remains yellow, and the workflow does not proceed.

  5. Execute the script again in the normal view to force the node to turn green.

Impact:

This behavior is particularly problematic for workflows involving external services, as it can lead to:

Unnecessary manual intervention

Unintentional duplicate data transfers

Clarification Needed:

It is unclear whether this behavior is intentional, a user interface inconsistency, or a bug. If intentional, it would be helpful to understand the reasoning behind this design choice. If unintentional, an adjustment to ensure consistency would improve usability.

Suggested Fix:

Ensure that after a successful execution in the detail view, the node transitions to green, and the workflow continues as expected.

Thank you for your time. Please let me know if further details are needed.

Best regards,

Denis