Creating a New Process
These steps show how to create a new process.
- Procedure
- Open TIBCO Business Studio for BusinessWorks.
- Open the
Design perspective by clicking
in the upper right.
- Click the File Explorer tab. If the tab is not visible, click and click OK.
- Click and select or open a clean new workspace.
- In the samples directory, select
tibco.bw.sample.binding.rest.BookStore.zip.
and double-click
This opens the project in the Project Explorer.
- In the Project Explorer, expand the tibco.bw.sample.binding.rest.BookStore project.
- You can also import the sample using the option.
- The project is displayed in the
Project Explorer panel on the left.
- Expand the folders in the project to see all the project processes and resources.
For more information on folder structure, see
TIBCO BusinessWorks™ Container Edition Application Development.
- Expand
Processes and then expand
tibco.bw.sample.binding.rest.bookstore.db.
See BooksDB.bwp.Note: The .bwp extension indicates that it is an TIBCO BusinessWorks Container Edition process.
- Double-click
BooksDB.bwp.
The process comprises:Green chevron on the left indicates the service details.addBooks, getAllBooks, and so on indicate the operations implemented by this process.Each operation is implemented separately.
- Double-click an operation to display the process for example,
.
- In the addBooks operation, you can see a JDBC activity.
- The activity is repeated using a ForEach group.
- addBooksOut represents the Reponse to the web service request.
- To add a new process package named
tibco.bw.sample.rest, right-click on
Processes
in the
Project Explorer view, and select
.
- In the
BusinessWorks Package screen, specify
tibco.bw.sample.rest in the
Name field.
- Click
Finish and verify that the new package
tibco.bw.sample.rest has been added in the
Project Explorer view.