conductor icon indicating copy to clipboard operation
conductor copied to clipboard

Variables are cleared once the WAIT task is started

Open vzubyk opened this issue 3 years ago • 2 comments

Bug description: Variables are cleared once the WAIT task is started.

Details: Conductor version: 3.11.0 Workflow definition:

{
  "name": "Set_Variable_Workflow",
  "description": "Set a value to a variable and wait",
  "version": 1,
  "tasks": [
    {
      "name": "Set_Name",
      "taskReferenceName": "Set_Name",
      "type": "SET_VARIABLE",
      "inputParameters": {
        "name": "Foo"
      }
    },
    {
      "name": "Test_Wait",
      "taskReferenceName": "Test_Wait",
      "type": "WAIT",
      "inputParameters": {
        "duration": "30 s"  
      } 
    }
  ],
  "restartable": true,
  "ownerEmail":"[email protected]",
  "workflowStatusListenerEnabled": true,
  "schemaVersion": 2
}

Steps to reproduce the behavior:

  1. Create provided above workflow definition
  2. Start a new workflow for the Set_Variable_Workflow definition
  3. Open the workflow execution page
  4. Check the Variables

Actual behavior: No variables exist.

Expected behavior: The variable name with the value Foo, created by the Set_Name task exists.


Screenshots: image image

vzubyk avatar Aug 30 '22 13:08 vzubyk

Hi @vzubyk , Thanks for reporting this. I am able to reproduce this. We will raise a fix for this.

manan164 avatar Sep 07 '22 14:09 manan164

HI @vzubyk , PR for the fix https://github.com/Netflix/conductor/pull/3221

manan164 avatar Sep 07 '22 20:09 manan164