run
Return artifacts from query
Description
returns the artifacts in the project folder that match the criteria specified by the query
artifacts
= run(queryObj
)queryObj
. For more information, see Find Artifacts with Queries.
This function requires CI/CD Automation for Simulink Check.
Typically, you use queries inside your process model and the build system automatically
runs the queries to find artifacts, but you can manually call the run
function to run a query outside of your process model to confirm which artifacts the query
returns.
returns the artifacts in the project folder that match the criteria specified by the query
artifacts
= run(queryObj
,inputArtifact
)queryObj
and are associated with the artifact
inputArtifact
. If you use the query as an iteration query or
dependency query, the build system can use inputArtifact
to determine
the scope of the artifacts that the query returns, which can be helpful for queries that
need an input artifact from a parent query.