numeric-constant
  • 27 Jul 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

numeric-constant

  • Dark
    Light
  • PDF

Article summary

The numeric-constant parser does not load any data from a source data table. On the other hand, it will assign every entity identified by its associated table object into a numeric variable within a collection.

At first, it may seem useless to assign every entity the same numeric value within a variable. But it's not every entity - because this parser operates in conjunction with a table object, it's possible that the source data table contains rows that only match with a subset of entities loaded from the entity_table.

Thus, this parser is able to assign a constant number to all entities that were present in an other_table.

Attribute - value

The value attribute is required.

{
  "parser_type": "numeric-constant", 
 
  // The value attribute becomes the value stored
  // in the variable
  //
  "value": ####,
  
  "collection": "collection_name",
  "variable": "variable_name"
}

Was this article helpful?