Example for EvaluateSubset Activity
The example shows typical use. In this example, the Subset Rule is used from the catalog, that is, no Subset Rule name is specified.
<Activity Name="EvaluateSubset"> <Start/> <Action>EvaluateSubset</Action> <Description lang="en">Apply Subset.</Description> <Parameter direction="in" type="string" eval="constant" name="eventState">SUBSET</Parameter> <Parameter direction="in" name="InDocument" type="document" eval="variable">inDoc</Parameter> <Parameter direction="in" name="MasterCatalog" type="string" eval="xpath" source="//CatalogActionHeader/CatalogReference[@type='MasterCatalog']/Revi sionID/DBID/text()">inDoc</Parameter> <Parameter direction="in" name="RelationshipName" type="string" eval="constant">Contains</Parameter> <Parameter direction="in" name="RelationshipName1" type="string" eval="constant">ContainedBy</Parameter> <Parameter direction="in" name="VersionOption" type="string" eval="catalog" source="VersionOption">inDoc</Parameter> <!-- If you want to cascade subsetting, specify master catalog, subset and record collection --> <!--Parameter direction="in" name="Subset" type="string" eval="constant">MYSUBSET</Parameter--> <Parameter name="NamedVersionPrefix" direction="in" eval="constant" type="string">DBDUMP</Parameter> <!--<Parameter name="IgnoreMetadataChange" direction="in" eval="constant" type="boolean">false</Parameter>--> <!--Parameter direction="in" name="MasterCatalog" type="string" eval="constant">MYCATALOG</Parameter--> <Parameter direction="out" name="OutRecordList" type="recordlist" eval="variable">workRecordList</Parameter> <Parameter direction="out" name=" RecordsProcessed" type="long" eval="variable">recordsProcessed</Parameter> </Activity>
Copyright © Cloud Software Group, Inc. All rights reserved.