Chapter 9 Setting Up Searching If you want end users to be able to search their process instance data, you need to design the application to enable the search capability. This chapter includes these sections:
If you want end users to be able to search their process instance data, you need to design the application to enable the search capability.
Types of Searching
Enabling Searching
Figure 9.1    The Process Express Search Page
the most recent process instances they created
all the process instances they created that are still open
all the process instances they created within a date range
Set up the appropriate groups to allow members to perform searches.
Set up forms so that all users for whom you enable searching have forms at all activities.
Set the appropriate fields to be searchable.
In the application tree view, open the Groups and Roles folder.
Double-click a group icon, or highlight the group and click Inspect.
In the dialog box for the appropriate group, check the Allow Search checkbox.
Close the dialog box. Your changes are saved automatically.
In the application tree view, double-click the Form Access icon, or highlight the icon and click Inspect.
The Form Access window appears.
Scan the vertical columns to make sure every user you want to view the data has a form they can see for every activity.
Note that you do not need to assign a form specifically for every role. For example, if you have created a form for the "all" role, the creator and other groups and roles will be able to access that form.
If you want to add a form to a column, drag the form from the Application Tree View window to the appropriate box in the Form Access window.
If the form you need hasn't been created, you need to create one and come back to this step. You may have to create a new form if you have not created an appropriate form already.
Close the Form Access window.
Computed
Date
DateTime
Radio Button
Select List
TextField
UserPicker Widget
In the application tree view, double-click the field you want to make searchable, or highlight it and click Inspect.
In the Inspector window, set the Allow Search property to true.
Close the window. Your changes are saved automatically.
If you have created your own field class IDs instead of using the predefined ones, you must include the Allow Search property in the JSB file.