Select Children

This command is used to select the child resources for the resource from class with resource name or by the query results with query name.

The $selection_size variable is set to the number of selected resources, on successful completion of selection process. The selection is retained only for the duration of workflow, including nested or outer workflow.

Syntax
Select Children: <class>.<resource name>;
or
Select Children: %Queries.<query name>;
This table lists the exception conditions and the related error message (if applicable) during the execution of the command:
Condition Error Message
When the class name is invalid. This error is reported, and the selection becomes empty:
APACS110=There is no class with name "{0}" defined in the model.

Where, {0} = class name

When there is no resource for class with name resource name. This error is reported and the selection becomes empty:
APACS199=The class "{0}" does not have a resource with name "{1}"
  • Where, {0} = class name
  • {1} = resource name
When there is no query with name 'query name'. This error is reported and the selection becomes empty:
APACS239=Query "{0}" was not found

Where, {0} = query name