Functions

In eliona, functions are used to perform additional calculations or transformations on incoming data that are not covered by the format configuration.

Functions Overview

Functions Overview
  1. Search functions: Click to search for specific functions.

  2. Create functions: Click to create a new function.

  3. Functions Names: Click to sort all functions alphabetically in ascending or descending order by name.

  4. Parameters: Click to sort all functions numerically in ascending or descending order by number of parameters.

  5. Remove functions: Click to remove the function.

  6. Configure functions: Click > to configure the function.

Create JavaScript Function

Create Function
  1. Enter the name of the function

  2. Select an asset type.

Choose Parameter
  1. Select the desired parameters of the asset type.

  2. Create the function.

Function Configuration

Function Configuration
  1. Test request: Click to test the function.

  2. Remove function: Click to remove the function.

  3. Save: Click to save changes.

  4. Code editor: to create a function, the user can write JavaScript code in the editor that returns an object. This object is used to perform additional calculations or transformations on the incoming data that will later be used to map to the asset.

  5. Documentation: Click to access this documentation.

  6. Asset Type: Selected asset type.

  7. Parameter: Selected Parameters.

  8. Results: Results of the test request.

Last updated