Creating and Defining Activities

This section discusses how to create and define activities.

To create an activity:

  1. Select File, New in PeopleSoft Application Designer.

    When prompted, select Activity. Save the activity.

  2. Select the Use tab from the Activity Properties dialog box.

    To open the properties dialog box, double-click in the map (but not on an item in the map).

  3. Select Activity Guide.

  4. (Optional) Select Automatically sequence steps.

    After you add steps to an activity, you arrange the steps into a logical sequence using connecting arrows, and assign each step a number.

    If you select Automatically sequence steps, the step numbers (and the path numbers) are automatically assigned when you save. The step and path numbers are based on the order in which you draw the connecting arrows. This is an efficient way to order the steps.

  5. Add steps corresponding to the pages that make up the activity.

  6. Arrange the steps, using connectors to put the steps in order.

    To connect two steps:

    1. Click the Link button.

    2. Click the first step.

    3. Click the second step.

  7. Repeat until all steps are connected.

    You have two options when you arrange the steps: sequential or parallel paths. In a sequential path, the steps form one unbroken sequence. When you create parallel paths, the steps appear in the workflow activity guide as a single row, but the user has more flexibility in choosing which step to do. This is because the user can go directly to any step whose immediate predecessor has been finished.

Define step attributes on the Step Attributes dialog box.

Image: Step Attributes dialog box

This example illustrates the fields and controls on the Step Attributes dialog box.

Step Attributes dialog box

To define step attributes:

  1. Double-click a step, or right-click and select Item Properties.

    The Step Definition dialog box appears.

  2. Enter a name and icon description.

  3. Enter the step and path numbers for each step.

    If you’re manually ordering steps, enter a step and path for each step in the activity.

    If you’re automatically sequencing steps, the step and path number are automatically updated when you save the activity. However, even if you use this feature, check the step and path number after saving to verify that the steps are in the intended ordered.

  4. Select Attributes.

    The Step Attributes dialog box appears.

  5. Indicate that the step is processed by a page.

    Select Page in the Processed by group box of the dialog box. The External Program option is not supported for workflow activity guides.

  6. Provide directions for starting the page.

    Select the page from the list boxes in the Processing Page group box.

    In the Action list box, select the type of activity that the user must perform on the database. When a user selects this step, the system displays the specified page in the specified action mode.

  7. Click OK to close the Step Attributes dialog box.

Define workflow activity guide options on the Step Attributes dialog box.

Image: Step Attributes dialog box

This example illustrates the fields and controls on the Step Attributes dialog box.

Step Attributes dialog box

To define workflow activity guide options:

  1. Select Activity Guide.

  2. Configure workflow activity guide options.

    Required Step is not currently used by workflow activity guides. However, to create your own programs to enforce required steps, you can use this option to identify them.

    Select Can be worked multiple times to permit a user to return to an already-worked step. When this option is selected, the workflow activity guide link that opens the step remains active, even after the step is worked. When this option is cleared, the link is unavailable after the user finishes the step.

    The button display determines what users see as they use the workflow activity guide.

    Field or Control

    Definition

    Link

    Select to represent each step with the text that you used as the icon description. This text becomes a link to take the user to the page that is represented by the step.

    Graphic

    Select to represent each step with an icon. The icons are not links, so if you select this option, the user cannot use the workflow activity guide to navigate between pages. Instead, the user must rely on the Back and Next buttons that appear in related pages. Use this option if you want the Back and Next buttons to be the only navigation objects in the workflow activity guide.

    Both

    Select to display both icons and links. This is the default option.

  3. (Optional) Add graphics to represent the possible statuses of the step.

    If you display graphics in workflow activity guides, you must specify which graphics to use. Specify four graphics: one for each possible step status. You can use the same graphic for multiple statuses.

    Field or Control

    Definition

    Enabled Graphic

    Use for the next step after the step that is currently in process. If you’ve defined parallel paths, multiple steps can be enabled simultaneously. If you’ve enabled both graphics and links, the accompanying link is active.

    Disabled Graphic

    Use for steps that the user cannot yet start. If you’ve enabled both graphics and links, the accompanying link is inactive.

    Worked Graphic

    Use for steps that the user has completed. If you’ve enabled both graphics and links, the accompanying link is inactive, unless you marked the step as one that can be worked multiple times.

    Processing Graphic

    Use for steps on which the user is currently working. If you’ve enabled both graphics and links, the accompanying link is inactive.

    You can select any graphic in the PeopleSoft image catalog. To use a custom graphic, you must first add it to the catalog.

  4. Repeat for each step in the activity.

  5. Save the workflow activity guide.