Operations
An operation is a high level component of an Action, which determines the primary function of the Action.
Operation | Description |
---|---|
Assignment |
Assigns a new value to an existing value. Only temporary values and dynamic values can be assigned a new value. For example, assign a new geometry or attribute to a feature. This is used widely to fix or integrate or transform data by updating it. |
Break |
When used inside of a loop this will cause the loop to terminate. Otherwise the current action will be terminated. |
Built-in Operation |
Performs a specific task on the data, determined by the built-in function that is selected. If the function requires parameters, these must be added as child values. |
Create Object |
Creates a new object in the class specified. This is used widely to create reporting features representing the exact locations of problems or when inferring new data or creating an enhanced copy of the data. |
Delete Object |
Deletes an existing object. You can specify the class of object to be deleted and its name, if it has been given one. Note: Usually you should aim to delete the primary object that the rule is iterating over to avoid later iterating over a feature that has been deleted. |
If...Then...Else |
As opposed to the IF..THEN..ELSE condition, which decides which condition to check, this operation is used to decide which operation to perform. The first part is the condition to check, the second part is the operation to perform if the condition is true and the (optional) third part is the operation to perform if the condition is false. |
Loop Over a Collection |
Step over a specified geometry or collection and perform an operation on each part. Note: Geometries can be treated like collections and stepping over each part allows each part of a single or multi geometry to be processed individually. Collections are usually created as attribute values by specific bespoke datastores to represent things like multi-cardinality lists. Use the "Object or Element" value to access the current part within the loop. |
Loop Over Objects |
Step over a specified set of objects in the cache and perform an operation on each one. |
Report on Values |
Outputs specified value(s) for the current object in the XML results for this task. |
Sequence |
Used to perform a number of operations one after the other in the specified order. |
While Loop |
A While Loop must consist of two child elements: a test condition and an operation. The operation will be executed repeatedly while the test condition holds. Note: You must be careful to avoid infinite loops by ensuring that the condition will eventually be met. |