Running the Sample Project

You must configure the TIBCO Cloud AuditSafe Shared Resource Connection packaged in the sample before running the process.

Prerequisites

Ensure that you have imported the sample project, as described in Importing Sample Projects.

Procedure

  1. Expand BWAuditSafeDemo.module in the Project Explorer view.
  2. Expand Resources > bwauditsafedemo.module.
  3. Double-click AuditSafeConnection.tasconnectionResource to configure the TIBCO Cloud AuditSafe Connection, and then click Test to validate your connection.
  4. After successfully connecting to the TIBCO Cloud AuditSafe server, expand Processes > bwauditsafedemo.module.
  5. Double-click BWAuditsafeDemoFlow.bwp.
  6. If you want to configure the properties of an activity, click on any one of the activities in the flow, displayed in the Process Editor and then click on the Input tab in the Properties view.

    For more details about input fields and output fields of the activities, see Post Audit Event Activity and Get Audit Event Activity.

    Note: On the toolbar, click the icon to save your changes after every update.
  7. From the menu, click Run > Run Configurations.
  8. Expand BusinessWorks Application, and click BWApplication in the Run Configurations dialog box.
  9. In the right panel, click the Applications tab, select the process of the imported projects and then click Apply.
  10. Click Run to run the process.
  11. After the process runs successfully, click the icon to stop the process in the Console view.
  12. If you want to run the process with the pre-defined properties of the activity, skip the Step 6.

Result

The output of the process run in the Run mode.

The output of the process run in the Debug mode.

Note: When you use the plug-in with the TIBCO BusinessWorks™ Container Edition 2.3.4, follow the steps below to avoid the design-time errors before running the sample project:

1. Right-click BWAuditSafeDemo.module in the Project Explorer view and then click Refactor > Repair BusinessWorks Projects.

2. Select all the check boxes displayed on the Repair BusinessWorks Projects dialog and then click OK.

3. Repeat the above steps for BWAuditSafeDemo project folder.