Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Question about parameters #250

jonschlinkert started this conversation in General
Discussion options

Hi, I'm just trying to learn the spec, but I might be confused about something. How do I define arguments on steps? I see parameters, which in every language I'm familiar with means "placeholders for arguments", while arguments are the actual values, but it looks like parameters are being used as arguments. Is there a different object that's used for args? FWIW I did search for this information first, but didn't find any discussions or answers about it.

Thanks!

You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

Hi @jonschlinkert,

Step parameters in most cases can contain actual values or placeholders for values, as well as specifying how the parameter should be mapped into a particular API operation (when applicable). In the placeholder situation the value is normally expressed in the form of a runtime expression to be evaluated by tooling parsing/processing the Arazzo Description). The expression could specify that the value will be taken from provided workflow inputs, or perhaps from previous steps within a given workflow.

If you want to pass arguments into a workflow, then you would define the shape of the inputs using JSON Schema (see Workflow inputs fixed field).

If you have a concrete example, I can try to answer more explicitly for you.

You must be logged in to vote
1 reply

This comment was marked as disruptive content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /