Creating Applications In Process Director

This topic describes how to create a basic Process Director application from scratch inside the Content List.

NoteAn easier approach is to create an application template in the [Template Library] folder and use it to generate a new application stub. This eliminates the need to repeatedly create the same basic objects for each new application.

Procedure

  1. In the Content List, create a parent folder for the application.

    • Place all application objects in this folder. This makes exporting and importing the application between environments (for example, DEV to PROD) much simpler.
    • If necessary, set the folder's permissions. Otherwise, the folder inherits permissions from the Content List.
  2. Create any subfolders you need for supporting objects such as Knowledge Views and Business Rules.

  3. Create a new Process Timeline definition. No configuration is needed at this stage—you'll return to it after creating the Form definition.

  4. Create the main Form definition for the application.

    1. When the Form is created, the Online Form Designer (OFD) opens automatically. You can also access it later from the Edit tab of the Form definition.
    2. Create the desired layout and add the Form controls you need.
    3. Save and close the OFD to return to the Form definition's Properties tab.
    4. In the Options section of the Properties tab, configure the following properties:

      • Automatically start this process after Form is submitted: Set to the Process Timeline you created in step 3.
      • Timelines Associated with Form: Set to the same Process Timeline.
    5. Save and close the Form definition.
  5. Create an Email Template Form definition.

    1. In the Create Form dialog, expand the Options section and select the Email Template property before clicking the OK button. This creates a special Form type used to generate the email notifications your application will send.
    2. When the OFD opens, save and close it, then click the OK menu button to save and close the Form definition. You'll configure the email template in a later step.
  6. Re-open the Process Timeline you created in step 3 and complete its configuration.

    1. In the Options section, set the following properties:

      • Form for Timeline: Set to the main Form definition you created in step 4.
      • Default Email Template in this Timeline: Set to the Email Template Form definition you created in step 5.
    2. Click the Create Activity action link to add the activities your process requires. Configure each activity's type-specific settings and the Start When tab's conditions to control the flow between activities.
    3. Click the OK menu button to save and close the Process Timeline.
  7. Configure the Email Template.

    1. Open the Email Template Form definition and click the Edit tab to open the OFD.
    2. Add an Email Data control to define the notification.
    3. To send different notifications to different users, place each notification inside an Embedded Section control with its own Email Data control.

      Each Embedded Section must have mutually exclusive Visibility conditions so that only one notification and EmailData control is active when the Email Template is invoked.

  8. Create any additional supporting objects your application requires, such as Knowledge Views and Business Rules. As a best practice, place these objects in the appropriate subfolders within your application folder to maintain a logical organization.

Global Objects

Some objects—such as Dropdown Content List objects and Business Rules used across multiple applications—are global in scope. Store global objects at the root level of the partition in folders with bracketed names, for example, [Dropdowns] or [Business Values]. Keeping global objects in consistent, well-known Content List locations ensures they are easy to find and accessible to all applications across all systems.

Exporting Applications

Always export the entire parent application folder rather than individual objects when moving an application between systems. This ensures all dependencies are included.