Logmanager documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Text

Block “Text” is used in case, when is needed to enter any letter, word or string to the program.

Block XML representation

XML representation of text block:

<xml xmlns="http://www.w3.org/1999/xhtml">
  <block type="text">
    <field name="TEXT">Text value</field>
  </block>
</xml>

Example of visual representation

Block "Text"

Block “Text”

Example of block usage

Example of "Text" block

Example of “Text” block

Block is used three times in the example:

  • “if text” row: if key “raw” contains word “admin” in “message” dictionary, then condition is met,
  • “do set” row: if condition is met, variable “user” is created with value “administrator” as string,
  • “in dictionary” row: new key “user” is created in “item” dictionary with the contents of “user” variable (text “administrator”).

Input data

Login permitted from 192.168.10.1/1234 to inside:192.168.1.1/https for user admin

Processing result

Results of "Text" block

Results of “Text” block