Creating the Project

You start by creating a project that contains a simple business process.

It is good practice to use a separate organization model rather than to include the model within the same project as your business processes. Your main project can reference the project containing the organization model.

Procedure

  1. Start Studio for Designers.
    Note: Following this tutorial will be simpler and clearer if you close any other projects that you may have open in your TIBCO Business Studio workspace, using the Project > Close Project menu option.
  2. If it is not already in your workspace, import a project containing only an organization model called EasyAsExtendedOMSolution.

    To do this:

    • Find the EasyAsExtendedOMSolution.zip file, in the location where you installed TIBCO Business Studio (for example, <STUDIO_HOME > \studio\3.n\samples).
    • In TIBCO Business Studio, select File > Import.
    • The Import wizard is displayed. Select General > Existing Projects into Workspace and click Next.
    • Click Select archive file, and click on the Browse button.
    • Browse to EasyAsExtendedOMSolution.zip and click to Open. The EasyAsExtendedOMSolution project is displayed in the Import wizard.
    • Click Finish. The EasyAsExtendedOMSolution project is installed in your workspace.
  3. Expand this organization model. You will see that it contains a group called Customer Services Representatives, and a Capability called French Speaker.
  4. Create a new Analysis project:
    1. Select File > New > Analysis Project.
    2. Name the project ManageCustomerEnquiries.
    3. Select BPM as the Destination Environment, and click Next.
    4. On the Asset Type Selection page, deselect Business Object Model and Organization Model.
    5. Click Finish.
  5. Rename the business process in your new project by expanding Process Packages to the Process level, right-clicking on ManageCustomerEnquiries-Process, and selecting Rename. Name your process French Customer Services.
  6. Now enable your project to reference the project containing the organization model. To do this right-click on the ManageCustomerEnquiries project in Project Explorer, and select Properties.
  7. Select Project References, and from the list of references available, select EasyAsExtendedOMSolution and click OK. This means that you will be able to reference the organization model in this project from the ManageCustomerEnquiries project.
  8. In the Process Editor view, where the French Customer Services business process is displayed, open the Tasks drawer on the Palette. Click on the User Task icon, and drag and drop it onto the sequence flow between Start Event and End Event. Name this user task Complete product enquiry form.
  9. Create a second user task and name it Issue response to customer.

  1. Add data fields to the process:
    1. Expand the French Customer Services process in Project Explorer, and click on Data Fields.
    2. Click the plus sign at the right of the Properties view.
    3. Click in the Label column and change the label from the default Field to Customer Name. Leave the Type as the default Text.
    4. From Project Explorer, drag and drop the Customer Name data field onto the Complete product enquiry form task. A popup menu is displayed.
    5. Click Add Data To Assign. This defines the field as one that the user can complete when the work item is displayed.
    6. Again from Project Explorer, drag and drop the Customer Name data field onto the Issue response to customer task. This time, click Add Data To View. The field, which the user completes in the previous task, becomes data input to this task.
    7. Now create another data field of type Text, giving it the label Customer Reply.
    8. Add this field to the Issue response to customer task, making it Add Data To Assign.
  2. Right-click on the Start event and change it to Trigger Type > Message Trigger.

    The Start event displays an error symbol. You must either select the quick fix for this error or Save to generate a web service descriptor for the Start event and remove the error symbol.

  3. Right-click on the Start event, and select Business Service > Generate.
  4. A new business service process is generated, using a default name similar to ManageCustomerEnquiries-Catch Message Event. The business service process consists of a start event, a user task and a send task.

    Rename the business service to Follow up French Customer Enquiry, and rename the User Task Collect Data.

    The purpose of this business service is to collect the data needed to start the business process, and send the data to the business process.

    When you deploy this process it will be presented as a business service in a list of business services. See the chapter "Business Services" in the TIBCO Workspace User’s Guide for more information.