Skip to Content

Wevo iPaaS tools: Code function

Code function is a tool that allows for the creation of functions that can be reused later, thus eliminating the need for the same lines of code to be rewritten every time you need to run the same command, which in turn makes the development process more agile.

This tool is commonly used during the development of new connectors.

Access code function

You can access the code function tool through the platform menu.

code function

To create a new function, click the New Function button. A code editor opens where you can enter the function's JavaScript code:

create new function

After creating and saving your function, you can make changes by clicking the Edit button under the Options menu. While editing, you can also test the function by clicking Run.

edit and test a function

Now that your function has been created and tested, you can use it in the connector studio or in your transformations.

use a function