Creating a toolkit in the Authoring Environment
A toolkit is a collection of library items that you can reuse in a variety of process applications, as shown in Figure 1.
Figure 1. Toolkit and process application
- Login into the Lombardi Authoring Environment (Author
- Create a new toolkit in the Lombardi Authoring Environment, as
shown in Figure 2.
Figure 2. Create a Toolkit in Lombardi Edition
- Fill in the pop up dialog as shown in Figure 3 and click the
Figure 3. Create a New Toolkit dialog
- Open the Designer perspective, as shown in Figure 4.
Figure 4. Open the Designer
- Create an Integration Service to connect to DB2 by clicking on the
Integration Service item, as shown in Figure 5. You need to have a
connection to DB2 to extract the data from DB2. Therefore, you
need to have an Integration Service to do it.
Figure 5. Create a new Integration Service
- Fill in the popup dialog as shown in Figure 6, then click the
Figure 6. Dialog of the new Integration Service
- Design the workflow for the new Integration Service.
On the right Common pallet, drag two components (Server Scriptlet and Server Script), which run on the server side, into the diagram as shown in Figure 7.
Figure 7. Component diagram of Retrieve Policy Details
- Connect with the SQL Execute Statement.
In the Author Environment, the SQL integration services are Java-based integrations that bind to a specific method in the
teamworks.SQLConnectorJava class. This means that you have many built-in services in the System Data toolkit to interact with the database. In this tutorial, we use the SQL Execute Statement.
Under Toolkits, expand System Data, and select All. Then type
SQL Executeto filter the components. Drag the SQL Execute Statement into the diagram, as shown in Figure 8a.
Figure 8a. Available Integration Services
- Wire all the components together and set reasonable names for the
- To set the name for Untitled1, click on
Untitled 1. In the Properties panel, select
Step, and type
Set Queryfor the name property.
- Set the name for Untitled2 as
Set Parameter. The wired components look similar to Figure 8b.
Figure 8b. Wired components
- To set the name for Untitled1, click on Untitled 1. In the Properties panel, select Step, and type
At this stage, we will have a brief overview about the workflow of the new toolkit. In the next step, you will store the data. Click the Save (or Ctrl + S) button to save the new toolkit.