Support > Repository > Function > Other
ja | en

Functions used for special purpose are introduced.


Retrieve update history.Usage is "Manage change history of data with repeating containerPlease read.

As described on the above page, this function is assumed to be used repeatedly in a container.Please do not use it elsewhere.

EXEC (Execution directory, command, argument ...)

Execute the command of the second argument at the directory position of the first argument.Multiple command line arguments can be specified after the third argument, separated by commas.The return value is the execution result (character string).

Get the directory list of the folder where Wagby is installed

EXEC("../..", "cmd", "/C", "dir")

The current directory when the Wagby application is executed is wagbyapp/bin.In the example above, directory is specified by relative path notation.cmd.exe is a DOS command that is included in the standard with Windows OS.

Create a folder

An example of preparing a new folder named work1 in the folder where Wagby is installed.

EXEC("../..", "cmd", "/C", "mkdir", "work1")


The pseudo function Me (note: 'e' in the second letter is lower case) indicates the item name describing this expression.For example, if you use Me () in the item1 item expression, the part of Me () will be replaced with $ {item1}.


IF (Me() > 0; 100, 0)

The purpose of Me () is to be able to unify item name parts when setting the same expression to multiple items.You can reuse copied and pasted expressions.