How to Model and Run Pageflows
A pageflow process is a short-lived process designed to display user interface pages to the user in sequence. It can also include other activities - such as web service or database calls - which can be used to drive the interaction with the user.
This tutorial shows you how to create a pageflow process.
A pageflow process is a specialized version of a normal business process that can be used to provide an animated user interface - a sequence of forms rather than just a single form - for a single work item to the same user.
Before you start this tutorial, you can become familiar with TIBCO Business Studio by completing the following initial tutorials:
- How to Design a Simple WelcomeUsers Business Service
- How to Implement and Deploy the WelcomeUsers Application
You can find these tutorials under
.You may also wish to complete the following tutorials covering the use of the organization model:
- How to Use the Graphical Organization Modeler
- How to Add Groups, Capabilities and Privileges to an Organization Model
After completing this tutorial, you will be familiar with using the pageflow process.
- Importing the Initial Resources
It is good practice to use a separate organization model rather than to include the model within the same project as your business processes. - Mapping a Participant to an Organization Model
First you will map the Participant Process Tester, which is used by the user task in WelcomeUsers, to a position in the imported organization model. - Creating a New Pageflow Process
A pageflow process can be used to display a sequence of forms to a user, to do a particular task, like displaying details about a user’s name or contact details. - Adding a Sequence of Tasks to the Pageflow Process
A pageflow process can be used to display a sequence of forms to enable the user to do a particular task, like gathering name details about a customer. - Associating Existing Data with the Tasks
Fields that are defined in one process cannot be directly used by another process. Data can be passed from one process to another using parameters. You can associate a parameter with a user task in the same way that you have already associated data fields with the user tasks in the business process. - Adding Further Data to the Pageflow Process
The tasks in this pageflow process will display the user name that was entered during the initial business service, and each task is used to collect a different piece of information about that user. - Deploying the Project
Since the WelcomeUsers project references the organization model in the EasyAsExtendedOMSolution project, the organization model must be deployed for the WelcomeUsers project to be able to run. - Running the Project
Once you have deployed the project, you can test it by running an instance. - Verifying the Results
You can verify the results of your tutorial by installing the tutorial from the samples folder in the product directory. Your project must look similar to the sample solution project.