Skip to main content

FieldLogs

Using FieldLogs Keywords in Operation Plan Scripts

JavaScript(JS) scripts can be used in Operation Plans to implement the desired execution logic.

In addition to the standard features and functions available in JavaScript, you can use FieldLogs Keywords functions. These functions begin with the notation Flkw:. They enable the script to access or set Operation Plan data and execute Actions.

JS Scripts are used in Operation Plans in the following three areas. The auto-suggest feature of the script editor gives the list of Flkw: functions available in each feature.

  1. A Measurement Point Event Trigger will have a JS Script as part of the Event Trigger Definition.

    MPScript.png
  2. JS Scripts can also be used as part of the Counter definition.

    CounterScript.png
  3. JS Scripts can also be used to automate scenarios while viewing an Execution Preview of an Operation Plan.

    EP_Script.png