Creating a function

You create functions from the Compose tab.

About this task

You can create new functions if you have permission to do so.

Note:

You must create a smart folder that displays functions to see them in Decision Center.

Procedure

To create a function:

  1. On the Compose tab, select Function as the type of project element to create, and then click OK.
  2. In Step 1: Properties of the Compose Wizard, enter the name and other properties of your function and then click Next.
  3. In Step 2: Contents, write the function.
  4. In Step 3: Tags, add any tags you want to associate with the function (see Tags).
  5. In Step 4: Arguments, declare the function arguments: the type, name, and order.
  6. In Step 5: Documentation, document your function.
  7. In Step 6: Version information, enter the version information.
  8. Click Finish.