Start from the visible target
Inspect the relevant saved table and copy the returned row or column reference intoedit_table_blocks. Use a row or column for a rule that applies along that axis, or a cell for one exact visible result.
The server derives scope from the target. The caller does not invent Dimension IDs, array positions, or formula-range IDs.
Model-wide default
The broad default condition is:A rule for a Dimension
A rule for every Department item uses:A rule for one segment
Use the readable Dimension and item names returned by inspection:Time-aware scope
A formula range needs the Model’s Date grain. In a monthly Model:edit_variables write, pair the condition with the requested period, such as "forecast", when the rule belongs to that formula range.
Exact versus broader scope
A condition without$ can continue to match a richer cell address. A condition beginning with $ matches the exact set of Dimensions it names:
condition field:
$ is part of the condition grammar. In an expression, an absolute Variable reference instead places $ after its name: Revenue$[Department = "Sales"].
Use exact scope only when the user intends that narrower behavior. A rule that omits Date cannot fill dated cells if it matches only its exact Dimension set.