The topics in this section provide information on how you can use WSO2 BPS tooling to create various BPS artifacts that you can build and deploy to the BPS in order to process requests.
Creating a BPEL artifact project
You will find a BPEL editor packaged along with the WSO2 BPS tooling. This BPEL editor can be used to create a BPEL artifact easily.
Prerequisite
To create a BPEL artifact you should have Eclipse setup with the BPS tooling pack. See Installing the BPS Tooling Plug-In for more information.
- Start Eclipse and navigate to File>New>Other.
- Search or scroll and find the BPEL category under the WSO2 folder and click on BPEL Workflow.
- Select Create new BPEL Workflow on the dialog box that appears and click Next.
- Enter a project name, process name, process namespace and specify the template (asynchronous process or synchronous process). Click Next.
- Provide the maven information for the package and click Finish. You will now have a BPEL project according to the details you specified.
Creating a Human Task-artifact project
You will find a human task editor packaged along with the WSO2 BPS tooling. This human task editor can be used to create a human task artifact easily.
Prerequisite
To create a human task artifact you should have Eclipse setup with the BPS tooling pack. See Installing the BPS Tooling Plug-In for more information.
- Start Eclipse and navigate to File>New>Other.
- Search or scroll and find the Human Task category under the WSO2 folder and click on Human Task Project.
- Enter a project name, human task file name, task name and a target namespace in the form that appears and click Finish. You will now have a new human task project.
Creating a BPMN artifact project
You will find a BPMN editor packaged along with the WSO2 BPS tooling. This BPMN editor can be used to create a BPMN artifact easily.
Prerequisite
To create a BPMN artifact you should have Eclipse setup with the BPS tooling pack. See Installing the BPS Tooling Plug-In for more information.
- Start Eclipse and navigate to File>New>Other.
- Search or scroll and find the BPMN category under the WSO2 folder and click on BPMN Project.
- Enter a project name and click Next.
In the next window that appears, select any referenced projects and click Finish. You will now have a new BPMN project.
Note: This method only creates a BPMN project. After creating the project, you should add a BPMN diagram to it. See creating artifact files for more information on how to add a BPMN diagram.
Creating artifact files
Creating a BPMN diagram
To create a BPMN diagram, you have to create a BPMN project first. See Copy of Working with BPS Artifacts for more information on creating a BPMN project.
After creating a BPMN project, follow these steps to add a BPMN diagram to that project.
- Right-click on your BPMN project found on the left pane of your Eclipse window and select New>Other.
- Search or scroll and find the BPMN category under the WSO2 folder and click on BPMN Diagram. Click Next.
- Enter or select the BPMN project you want to add the diagram to and enter a file name for your diagram. Click Next.
- Select a template diagram or create a new empty diagram and click Finish.
- You will see that the BPMN diagram has been added under the project you specified and a new empty diagram will open up along with a palette. You can use the palette to create the desired diagram.
- To package your artifacts into archives that you can deploy to WSO2 BPS, see Packaging Artifacts into Deployable Archives.
- To import existing WSO2 BPS tooling projects into your eclipse workspace, see Importing Existing Projects into Workspace.