Skip to main content

FieldLogs

Script Instructions

A Script Instruction performs a single action. A set of related Script Instructions comprise a Script.

The following categories of Script Instructions are available:

1. Basic Script Instructions

2. Step Value Script Instructions

3. Global Value Script Instructions

4. External Call Script Instructions

5. Table Script Instructions

6. Identity Script Instructions

7. Logical Structures

8. JS Execute

Note

While manipulating the values for different Step types, it is important to consider the following:

Date

In FieldLogs, the UNIX time unit is in seconds, not milliseconds. When creating date queries, this needs to be considered.

Yes/No

The value of the answer Yes is '1'. The value of the answer No is '0'.

Multi-choice and Multi-check

You can find the value corresponding to each answer specified for the Multi-choice and Multi-check Steps in the settings under the Step Information Editor tab.

In Multi-choice Steps, you can define or get the value of several answers with the following syntax:

"0;1;2"

Check

In a Check Step, the 'checked' value is '1' and the 'unchecked' value is '0'.