Skip to content
This repository was archived by the owner on Sep 16, 2020. It is now read-only.
This repository was archived by the owner on Sep 16, 2020. It is now read-only.

Workflow_job_template launch returns "Error: The requested object could not be found." #743

Description

@indirakas

I am trying to launch a workflow_job_template with the extra_vars:

survey = [
   safe_dump({'commit_message': message})
]
res = get_resource('workflow_job')
joblaunch = res.launch(workflow_job_template="Get-config Workflow (no survey)", extra_vars = survey, monitor=True)
print(joblaunch["url"])

But it gives me the "Error: The requested object could not be found."

However, when I execute it with tower-cli, it works fine:

tower-cli workflow_job launch --workflow-job-template="Get-config Workflow (no survey)" --monitor -e "commit_message: test_workflow"
------Starting Standard Out Stream------

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions