While this is common in integration projects to have to manage the same integration scenario for different business objects this translate in having to implement the same flow multiple times but with different Schemas and Mappings in BusinessWorks.
To help manage such requirements recent BusinessWorks versions support creating a template from a project and creating a new project using such template.
This new blog article is to explain how to use this feature.
Creation of a template
Create an application skeleton in Studio having in mind this will become a template used to create a number of actual applications.
For example you can create a template of an application processing JMS messages that would includes
. A JMS connection resource
. The properties needed to configure such resource
. A process with a JMS Receive Message activity, logging activities, a call to a sub-process containing the business logic to implement in each variant and a default error handler
Once your template application is created, you can create a template with the following:
. Right click on the application you want to use to create a Template
. Select Export -> Studio Projects as Template
A panel similar to the example below appears:
. Click on Select Dependencies and select a target folder to manage the templates
. Click Next, , a panel similar to the example below appears
Update the proposed Name and Version and add a Description as needed.
. Click Finish
. After 10 to 20 seconds you can check the template as been created in the specified template folder
Note that a template file is in zip format and can be unzipped if needed.
Creation of an application from a template
You can create a new BusinessWorks project from a template with the following:
. Right click in the Project Explorer area
. Then select the menu New -> BusinessWorks Project from Template
In the panel that appears, select the template project you want to use:
. Click Next, a panel similar to the example below appears
. Click Next , a panel similar to the example below appears
You can update the Application Name and Module Name by selecting the existing name in the column on the left and entering the new name in the column on the right.
. Click Finish
You now have to add the elements needed to fully implement the new application instance, this would include the schema describing the message received over JMS, the resource describing the back-end service that need to be called and the sub process doing the needed mappings and calling the back-end.
Reference elements
BusinessWorks documentation
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now