Accesses runtime arguments passed to the workflow as part of the execution request and declared as a parameter of the main workflow.

## Explore further


For detailed documentation that includes this code sample, see the following:

- [Pass runtime arguments in an execution request](https://docs.cloud.google.com/workflows/docs/passing-runtime-arguments)

## Code sample

### YAML

    main:
      params: [args]
      steps:
        - step1:
            assign:
              - outputVar: ${"Hello " + args.firstName + " " + args.lastName}
        - step2:
            return: ${outputVar}

## What's next


To search and filter code samples for other Google Cloud products, see the
[Google Cloud sample browser](https://docs.cloud.google.com/docs/samples?product=workflows).