Tag From
This function block provides a named data anchor that participates in inter-block variable exchange. Give the block a unique tag name and use corresponding Tag To blocks elsewhere to send values into this anchor. The block accepts a generic value and makes it available under the chosen tag name for the running scenario.
π₯ Inputs
Generic Accepts any kind of value (number, text, image, list, etc.) to be associated with the tag.
π€ Outputs
This function block does not have direct outputs.
πΉοΈ Controls
Tag Name Enter a short, unique string to identify this tag. This name is used by Tag To function blocks to route values to this anchor.
(hint) Make sure each Tag Name in your project is unique β duplicate tag names are detected and flagged by the block.
π― Features
Named data anchor for passing values between different parts of your setup.
Prevents duplicate tag names in the same project to avoid accidental overwrites.
Guards against a
Tag Toblock attempting to send data to the same block that defines the tag (self-send protection).Simple line-edit control for quick naming and identification.
π Usage Instructions
Drag a
Tag Fromblock into your workspace and enter a uniqueTag Name.Connect a data source (any block producing a generic value) to the
Genericinput if you want to provide an initial or fallback value.Place a
Tag Toblock elsewhere, set its target to the sameTag Name, and connect the value you want to transfer. The two blocks together exchange data using that name.Use other referencing blocks such as
Data Read GlobalorData Read Localto read shared values in more complex setups.
π Evaluation
During run, the block participates in the scenarioβs variable exchange. It ensures tag name uniqueness and validates cross-block tag operations before the scenario proceeds.
π‘ Tips and Tricks
Use
Tag Totogether with this block to pass values between separate branches of your flow.Combine with
Data Write Global/Data Read GlobalorData Write Local/Data Read Localwhen you need persistent or cross-subsystem storage.Use
Is Noneto check whether a tag currently holds a value before relying on it in downstream logic.Use
Debug Inputto log or inspect values being sent to a tag while developing your scenario.When exchanging structured data, consider
Data to JSONto format multi-field data before sending it withTag To.If you want to build tag names or messages dynamically, use
String Mergeto build the text fed into theTag Namefields or the content sent byTag To.
π οΈ Troubleshooting
Duplicate tag error: Ensure no other
Tag Fromblock uses the sameTag Name. Rename one of the tags to resolve.Self-send warning: If a
Tag Toblock appears to be sending to the same block that defines the tag, re-check your connections and tag names to avoid circular updates.Missing data: If the tag has no value, confirm the sending
Tag Tois active and that the source block actually produces data. UseDebug InputorIs Noneto help find where data is missing.
Last updated
Was this helpful?