Skip to content

How to use Config Manual data within Script #312

@bartonhammond

Description

@bartonhammond

In the code below I identified one piece of data, the course_id with value of 719.

At run time I expected the url in the first step to have the variable ${course_id} replaced w/ the 719 value.

But instead I get message "Variable not set: course_id"

{
  "type": "script",
  "seleniumVersion": "2",
  "formatVersion": 2,
  "steps": [
    {
      "type": "get",
      "url": "https://foobar/${course_id}"
    }
  ],
  "data": {
    "configs": {
      "manual": {
        "course_id": 719
      }
    },
    "source": "manual"
  },
  "inputs": [],
  "timeoutSeconds": 60
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions