Running the Sample Project

You must configure the TIBCO 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. In the Project Explorer view, expand BWAuditSafeDemo.module.
  2. Expand Resources > bwauditsafedemo.module.
  3. Double-click AuditSafeConnection.tasconnectionResource to configure the TIBCO AuditSafe Connection, and then click Test to validate your connection.
  4. After successfully connecting to the TIBCO AuditSafe server, expand Processes > bwauditsafedemo.module.
  5. Double-click BWAuditsafeDemoFlow.bwp.
  6. 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 save icon to save your changes after every update.
  7. From the menu, click Run > Run Configurations.
  8. In the Run Configurations dialog box, expand BusinessWorks Application, and click BWApplication.
  9. In the right panel, click the Applications tab, select the process of the imported projects and then click Apply.
  10. To run the process, click Run.
  11. After the process runs successfully, click the stop icon to stop the process in the Console view.
  12. To run the process with the predefined properties of the activity, skip 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, perform the following steps to avoid the design-time errors before running the sample project:
  13. Right-click BWAuditSafeDemo.module in the Project Explorer view, and then click Refactor > Repair BusinessWorks Projects

  14. Select all the check boxes displayed on the Repair BusinessWorks Projects dialog box and then click OK
  15. Repeat the above steps for BWAuditSafeDemo project folder.