Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

While many API automation tasks can be completed by invoking endpoints in order and passing identifiers from one service to another, many tasks will require some data processing to correctly accomplish their goals.  To assist in this ACP offers the ability to include user-written Javascript functions to handle these data manipulation tasks.

...

Each Javascript Function has a name, an optional category, and a description.  The Management screen contains boxes fields to search for a given Function by name and to filter the results by category.  Click on an existing Function name to edit the Function.

...

Each Function can accept an unlimited number of arguments and produces exactly one return value.  Each Function can be of unlimited length and contain whatever logic is required to accomplish the Function’s goals.

All internal Javascript functions -native features are available, but no Javascript extensions or libraries.

Javascript Functions are used wherever a variable is required in an ACP Workflow.  They can be used to transform Required or Optional Input data, or in Conditions & Routing blocks, or anywhere else a variable type box is displayed.  

...