Procedures
Automation procedures in the YAML book.
Ensure that you have installed or connected the YAML book and created a new playground before using these automation procedures.
to convert a yaml to a (text)
Convert a YAML concept into text.
Input Concepts
Output Concepts
text
The serialized YAML concept
text
Examples
Example 1: Convert the YAML concept into text
convert the yaml to a textto delete or remove a (yaml)'s property
Remove a property in a YAML concept.
Input Concepts
property
The name of the property to be removed
conceptual or text
Yes
(no default)
Output Concepts
Examples
Example 1: Remove the Year property
delete the yaml's yearto get a (yaml's property)
Retrieve a property by name from a YAML concept.
Input Concepts
property
The name of the property that should be retrieved from the YAML
conceptual or text
Yes
(no default)
Output Concepts
yaml's property
The property that was retrieved from the YAML
boolean or list of any or number or text or yaml
Examples
Example 1: Retrieve the Movies property using exact match on the name Example 2: Retrieve the Movies property using natural language
get yaml's "Movies"
get yaml's moviesto get a yaml as a (file)
Convert a YAML concept into a file.
Input Concepts
Output Concepts
file
The file containing the serialized YAML concept
file
Examples
Example 1: Convert the YAML concept into a file
get the yaml as a fileto get a file as a (yaml)
Convert a file into a YAML concept.
Input Concepts
file
The file that contains the serialized YAML concept
file
Yes
(no default)
Output Concepts
Examples
Example 1: Convert the file into a YAML concept
get the file as a yamlto get a text as a (yaml)
Convert a text into a YAML concept.
Input Concepts
text
The text to be converted
text
Yes
(no default)
Output Concepts
Examples
Example 1: Convert the text into a YAML concept
get the text as a yamlto merge a (yaml) to another yaml
Merge two YAML concepts into a YAML concept.
Input Concepts
Output Concepts
Examples
Example 1: Merge the one YAML concept into another
merge the yaml to the other yamlto set or change a (yaml)'s property to a value
Change a property in a YAML concept to a specific text value.
Input Concepts
property
The name of the property to be changed
conceptual or text
Yes
(no default)
value
The concept to be used as value for the property to be changed
boolean or list of any or number or text or yaml
Yes
(no default)
Output Concepts
Examples
Example 1: Change the Year property to 2000
set the yaml's year to 2000Last updated
Was this helpful?
