Search

User Defined Functions

Articles

User Defined functions are custom functions created for specific needs if not met by the Predefined Functions.
It allows you to write custom Python expressions based on automation requirements.

  1. Click the Image description icon on the Design Studio Page.
  2. Select the Function option to display the Functions tab.

All User Defined Functions are listed with Name, Description, Created By, Updated On, and Type in the Functions tab.
Click the Predefined button to view all Predefined functions with Name, Description, Type, and Expression Variable.

Image description

Create User Defined Function

  1. Click the + icon on the Functions tab. Add New Function window opens.
  2. Enter the following details:
  • Name: Name of the function
  • Description: Brief description about the function
  • Type: Select the type of function from the drop-down, for example, File.

Image description

The newly created function gets listed in the Functions tab along with other User Defined functions.

Edit User Defined Function

You can edit the newly created function and write Python code based on the automation requirement.

  1. Click the Image description icon against newly created User Defined function.
  2. Click the + icon to add new Variable.
  3. Write the Python code in Function text box.
  4. Click the SAVE button.
  • You can click the Image description icon on the Function text box to copy the code to clipboard.

Image description

All User Defined functions created are listed in the Functions tab of the Node and are available for use in the Actions tab of the Node during Task design and also listed in the Functions tab.

Did you find what you were looking for?