To Create a Function Activity
2. A function activity must have an Internal Name (all uppercase and no leading/trailing spaces) and a Display Name, which is the translatable name that appears in your process diagram. Use the description to provide an explanation about this activity.
Attention: To update the internal name for an activity once it is defined, you must use a special SQL script. You should only use this script to correct errors in an activity's internal name during design time. Do not use this script to rename activities that are involved in running instances of processes. See: Wfchact.sql.
Caution: Do not include colons ":" or leading/trailing spaces in your internal name.
If you wish to define an external function activity, set the function Type to External. The Workflow Engine enqueues an entry in the "Outbound" queue and sets the correlation value of that entry to the value you specify in the Function field. See: Workflow Queue APIs.
You must create your own queue handler to search for this type of record on the "Outbound" queue. The queue handler must execute the action associated with the record and seed the result of the action onto the "Inbound" queue. The background engine then takes care of messages on the inbound queue and restarts your original workflow process. See: Deferred Processing.
You can choose <None> as the result type if your activity does not return a value, or if your workflow process does not depend on the value returned.
5. Specify the cost of this function activity. See: Activity Cost.
You can also drag and drop icon files from the Windows Explorer or File Manager onto an activity in your navigator tree to assign that icon to the activity.
7. Choose Apply to save your changes.
9. Select the Roles tab page to specify the roles that have access to this function activity. (This functionality will be supported in a future release.)
11. The function activity now appears beneath Functions in the navigator tree. You can review or edit the properties of this activity at any time by double-clicking on the activity in the navigator tree or by selecting the activity and choosing Properties from the Edit menu or by pressing Enter on your keyboard.
When you include a function activity as a node in a process, you can assign a value to the function activity attribute that is specific to that node. See: To Define Activity Attribute Values.
Using the Edit Button in a Property Page
To Copy an Activity