padv.builtin.query.FindMAJustificationFileForModel Class
Namespace: padv.builtin.query
Superclasses: padv.Query
Description
The padv.builtin.query.FindMAJustificationFileForModel
class provides a
query that can return the Model Advisor justification file associated with a model. You can
automatically include or exclude certain artifacts by using the optional name-value
arguments.
You can use this query in your process model to find artifacts for your tasks to iterate over or use as inputs.
The padv.builtin.query.FindMAJustificationFileForModel
class is a handle
class.
Creation
Description
creates a query for finding the Model Advisor justification file for a model. The query
searches for the justification file within the specified folder
query
= padv.builtin.query.FindMAJustificationFileForModel(JustificationFolder = relativePathToFolder
)relativePathToFolder
. The query expects that the current iteration
artifact is a model and that the Model Advisor justification file name is the model name
followed by _justifications.json
. The query returns the justification
file as a padv.Artifact
object of type
ma_justification_file
.
sets certain properties using one or more name-value arguments. For example,
query
= padv.builtin.query.FindMAJustificationFileForModel(___,Name=Value
)padv.builtin.query.FindMAJustificationFileForModel(Name =
"FindMyJustification")
creates a query object with the name
"FindMyJustification"
.
The padv.builtin.query.FindMAJustificationFileForModel
class also has other properties, but you cannot set
those properties during query creation.
Input Arguments
Name-Value Arguments
Properties
Methods
Examples
Capabilities and Limitations
This table identifies functionality that is supported by the query.
Functionality | Supported? |
---|---|
Input query for task | Yes. |
Iteration query for task | Yes. |
Version History
Introduced in R2023a