Sun GlassFish Web Space Server 10.0 Administration Guide

ProcedureTo Create a Workflow Instance

  1. Log in to Web Space Server as the admin user.

  2. Choose Add Applications from the Welcome menu, and add the Workflow portlet to the page.

  3. Click Search Definitions on the Workflow portlet to view all workflow definitions.

    Figure 4–16 Creating a Workflow Instance

    To Create a Workflow Instance

  4. Click the Add Instances button next to a workflow definition.

    In this example, you can create an instance for version 1.0 of the LeaveApproval workflow definition.

    An instance is created for the Workflow Definition. Provide values for the fields such as the Definition Name, Definition Version, Start Date (Range), and End Date (Range), and click Search to search for the instance. To hide the instances that have already ended, select the Hide the instances that have already ended checkbox.

    You can create any number of instances for a version of Workflow Definition.

    Figure 4–17 Adding Workflow Instances

    To Create a Workflow Instance

  5. Click the Manage button for the instance.

  6. Click Save to save the task.

    The task will be assigned to a requester.


    Note –

    If the admin user clicks the Signal button next to an Instance, the instance is promoted to the next state of workflow. The requester is not allowed to use an instance which is promoted to the next state of the workflow.