It is possible to add selection criteria to attributes in the task file. Only the elements having all the defined selection criteria are used in the task. Selection criteria can be defined only for simple type attributes. QPR Modeling Client examples:
Export some attributes (Description, Notes, …) from activities which have a custom attribute named "ExportThis" and it has value true:
[Integration Task]
Name=Export activities with ExportThis as true
Command=Export
[Parameters]
[Model elements]
Activity=
[Activity]
Description=
Notes=
Information Items=
Resources=
Measure data=
Outgoing flows=
Owner=
ExportThis=true
Export descriptions of all model elements which have a custom attribute named "ExportThis" and it has value true:
[Integration Task]
Name=Export descs of all objects with ExportThis as true
Command=Export
[Parameters]
[Model elements]
[Defaults]
ExportThis=true
Description=