NOTE:A question can be specific to one state. As another option, you can define a global question, which you can then associate with any number of states; this is helpful when multiple states require the same question and answer set. Each state can have only one associated question.
For example, consider the following table:
Table 5-1 PTO Request Process
When reviewing the conditions table, look for conditions that can be automated. For example, the third and fourth items are excellent examples of conditions that can be determined automatically by using workflow tools.
For example, you can alter the implementation of the workflow, so that the manager’s answer to a workflow question determines if a request is or . Given the design of the workflow, the workflow question should appear to the manager in the state.
To add a Workflow Question and Responses to the Review State:
NOTE:The access control determines who can view a Workflow question in a given state (see Section 3.2.3, Setting Access Rights).
From the portlet on the initial Liferay portal window, click the plus sign (+) to the left of to expand this section and view the available designers. To add the portlet to the Liferay portal window, See Adding the Teaming Administration Portlet to Your Home Page.
Click .
Expand .
Click .
Expand and click .
In the options dialog on the right, click .
Click .
Type the (Do you approve of this request?) and the (approve_request), then click .
The process appears below the state.
Click .
Click .
Click .
Type the (approve_request_yes) and the (Yes), then click .
The is added below the .
Repeat Step 9 through Step 12 to add a “No” response to this .