> #### 5.4.13 Define Activity Node attributes

> 1. Display the process definition. Create or select an Activity Node.

> 2. Type the Assignee Role for the activity in the upper field of the Activity Node. Alternatively, you can set the Assignee as described in step 6.

> The Assignee can be an individual or a group defined in the Directory Service Roles. It is equivalent to "Groups" in Windows and LDAP. Individuals within all of these groups are called "Users" or "Members." For details on how to create a group or container, consult your Directory Service documentation or your Interstage Business Process Manager Administration and Installation Guide.
> If you want only one person to get the work item, instead all of the people in the Role that the person belongs to, put setActivityAssignees("<username>"); in the Role script in the Activity Node. For example, setActivityAssignees("jsmith");. To enter a Role script, right-click the Activity Node, select Assignee from the popup menu, then type your script into the Role Script text box. Alternatively, you can select a script file.

> 3. Type the name of the activity in the bottom field of the Activity Node (long names will span two lines).

> Note: The Activity Node's name cannot be longer than 30 characters, and the description is limited to 255 characters.

> 4. Right-click the Activity Node and select General from the popup menu.

> 5. On the General pane, type the Description for the activity.

> 6. If you did not set the Assignee for the activity in step 2, click the Assignee tab, click the Browse button (...), select the desired Role, and click OK.

> The list of available Roles are all the groups or containers, which are defined in the Directory Service. When a Role is selected, the members of the Role are displayed in the right pane.

> 7. Optional: On the Script pane, type a Prologue Script to execute when the activity becomes active and an Epilogue Script to execute after a user responds to the activity. Alternatively, click the Browse button (...) to select scripts stored in the DMS.

> For details on writing JavaScript, see the PDF file ecma-262.pdf, which is included with the software.
> Interstage BPM provides an additional set of JavaScript commands for exchanging information with the Server (See Appendix A).

> 8. Optional: On the Timers page, you can set the properties of a timer that is started when the workflow reaches the Activity Node. Use the same methods as described in "Define timers".

> Note: You must use a valid e-mail address in the From field.

> 9. Optional: On the Action Sets page, you can attach Java Actions to the Activity Node. Use the methods described in Assigning Java Actions.

> 10. (For Voting Activities Only): On the Voting Rules page, you can define the voting rules to be used with this Voting Activity Node. Use the methods described in Define Voting Rules (for Voting Activity Node only).

> 11. Click OK.

Business Process Manager Help-Fujitsu Computer Systems Corporation Interstage Website Voice: (888) 248-9273 Interstage BPM Information