Skip to content

docs: sample needs to pass an execution argument #3109

@camiekim

Description

@camiekim

Per b/276737524

I had to modify index.js as follows to avoid running into an "argument of 'in' must be a dict or an array" error when running the default workflow documented in https://cloud.google.com/workflows/docs/executing-workflow:

  // Execute workflow
  try {
    const createExecutionRes = await client.createExecution({
      parent: client.workflowPath(projectId, location, workflow),
      execution: {
        argument: JSON.stringify({})
      }
    });

Metadata

Metadata

Assignees

Labels

api: workflowsIssues related to the Workflows API.samplesIssues that are directly related to samples.

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