Adding Function Parameters
Before you can use input parameters in a user-defined function, create them in the same panel as you create the function or edit the existing function.
-
Navigate to the workspace that contains the functions library in which you want to create or edit a function.
For the steps to access a workspace, see Accessing a Workspace.
- On the workspace home page, click User-defined functions.
- From the list of function libraries on the User-defined functions page, click the name of the library.
- In the Functions section of the library details page, click Create function or click the name of the function that you want to edit.
-
In the Expression builder section of the panel that appears, click Input parameters.
If a parameter that you want to use is already added, it's listed under Input parameters.
- From the Actions menu, click Add input parameters.
- In the Add input parameters panel, enter a name and description for the parameter that you want to add, and select a data type for it.
- To add another parameter, click Additional parameter and enter the parameter information. Repeat the procedure to add more parameters.
-
When you have finished adding the parameters that you want to use in the function, click Add.
The parameters are listed under Input parameters in the Expression builder section.
- In the create or edit function panel, click Create or Save changes.