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.

  1. 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.

  2. On the workspace home page, click User-defined functions.
  3. From the list of function libraries on the User-defined functions page, click the name of the library.
  4. In the Functions section of the library details page, click Create function or click the name of the function that you want to edit.
  5. 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.

  6. From the Actions menu, click Add input parameters.
  7. 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.
  8. To add another parameter, click Additional parameter and enter the parameter information. Repeat the procedure to add more parameters.
  9. 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.

  10. In the create or edit function panel, click Create or Save changes.