Creating a Function Collection

  1. In the tree pane, do one of the following:

    • To create a function collection in the selected folder, click the New Function Collection button in the toolbar. Or, in the main menu, click File > New > Function Library.
    • To create a function collection in another folder, right-click a folder and click New Function Lib.

    Note

    Select the server icon connected-server icon to create a function collection in your user's home folder.
  2. In the New Function Lib dialog box that's displayed, specify the following:

    Filename Enter the filename of the function collection. The function collection name should be unique in the home folder. The Flow Designer automatically adds the ".xmp" extension, if necessary.
    Function Lib Name Enter the name of the new function collection. When you change the Function Lib Name setting, the Filename automatically changes to match.
    Function Name Enter a name for the new function.
    Allow Executable User Enter a comma-separated list of users who can invoke functions using the FunctionInvoker mapper function. You can use wildcards to specify users in a domain, for example, "/*" allows all users in the root domain.
  3. In the In/Out section section, configure the SubFunction's inputs and outputs. You link the SubFunction's inputs and outputs when you use the SubFunction in a mapping.

  4. In the Function Parameters section, configure the SubFunction's parameters. You can set a SubFunction's parameters in the inspector when you use the SubFunction in a mapping.

Note

Note the following conditions for the .xmp file's filename, the function collection's name, and the SubFunction's name to be valid:

  • The function collection's name must be unique.
  • The SubFunction name must be unique in all function collections.
  • The function collection's name and SubFunction's name can't use the following characters:
    !\"#$%&'()=~^|\\@`+*;:{}「」,.<>/?\t
  • There isn't a limit to the length of the name.
  • The names aren't case sensitive.
  • For the function collection's name and the SubFunction's name, you can use the single-byte space character and Japanese character sets, or other multibyte character sets.
  • For the function collection's filename, don't use multibyte characters.