• Overview
  • Functions
    • Overview
    • action
    • connect
    • create_issue
    • create_vertex
    • dateprint
    • delete_vertex
    • disconnect
    • eject_issue
    • execute
    • find_timeseries
    • html_extract
    • if
    • javascript
    • log
    • query
    • read_timeseries
    • read_vertex
    • regex
    • sleep
    • split
    • stop_issue
    • suspend
    • suspend_until
    • update_vertex
    • write_timeseries
  • Definitions
  • Automation Issue Lifecycle
  • Automation Issue Lifecycle - Corner Cases
  • Hints for KI-Writers
  • HIRO 6 - Transition Guide for Users having used HIRO 5 before
  • Transition from KI Syntax 5

General function syntax

The function arguments are either unnamed ordered ('positional') or named ('keyword'), depending on the called function.

Table 1. Arguments
Type Example

Positional

execute("echo This is a positional argument")

Keyword

execute(command: "echo This is a keyword argument")

Some function arguments can be stated as either keyword or positional argument. In that case, both are present in the argument description table at the according function description blocks below.

Return Values

The function results are returned as tagged values, and matched to variables using the syntax:

<tag>: <var>,
<tag2>: <var2> [...] = function(...)

List of implemented functions

Working with variables

  • add

  • delete

  • set (assign)

Running actions

E.g. command execution

Utilizing Graph API

Note: For any graph object being "in scope" (at least the issue itself and the current processing node) it’s always preferred to apply modifications directly using add, set/assignment, delete.

Managing vertices:

Managing edges:

Querying the graph:

Managing timeseries data: