SAS 9.1.3 Integration Technologies » Administrator's Guide


SAS Foundation Services
Understanding
Service Deployments
Service Deployment Configuration
Managing Service Deployments
Defining
Importing
Exporting
Duplicating
Redistributing
Installing and Running Foundation Services as a Windows Service
Understanding How Applications
Deploy Foundation Services
Locate Services
Scenario: Stand-alone application
Scenario: Remote-accessible Services
Scenario: Local and Remote-accessible Services
Share Foundation Services
Modifying Service Configurations
Event Broker Service
Events and Process Flows
Modifying the Configuration
Creating Events and Process Flows
Information Service
Logging Service
Pattern Layouts
Session and User Service
Monitoring Applications
Foundation Services

Creating Events and Process Flows

Create a New Event

To create a new event:

  1. Open SAS Management Console and connect to a metadata repository.
  2. In the navigation tree, expand the folders in the Foundation Services Manager until you find the Event Broker Service for which you want to define a new event.
  3. Right-click on the Event Broker Service and select New Event from the pop-up menu. The New Event wizard window appears.
  4. Enter a Name and optionally, a Description. Click Next. The New Event wizard - Type window appears.
  5. Select the type of event that you want to create. Click Next. The New Event wizard - Security window appears.
  6. Select the type of security to use when running the event. Click Next.
  7. Review the event definition and Click Finish to save the event definition in the metadata repository.

After you define an event, you can select the event definition in the navigation tree and create process definitions for the event.

Create a New Process and Process Flow

To create a new process and process flow:

  1. Open SAS Management Console and connect to a metadata repository.
  2. In the navigation tree, expand the folders in the Foundation Services Manager until you find the event for which you want to define a new process flow.
  3. Right-click on the event and select New Process from the pop-up menu. The New Process Wizard - Name window appears.
  4. Enter a Name to use for the process flow. Click Finish to save the process flow definition in the metadata repository.
  5. In the navigation tree, right-click the process flow that you just defined and select Process Editor from the pop-up menu. The Process Editor appears.
  6. In the toolbar, select Process Node Icon, hold down the mouse button, and drag the cursor into the drawing area of the Process Editor. The New Process Node Wizard appears.
  7. Enter a Name and optionally, a Description for the process node. Click Next. The Process Node Wizard - Class Window appears.
  8. Enter the Class to instantiate for this process node, and Generate and Compile the class as appropriate. Click Next. The Process Node Wizard - Attributes Window appears.
  9. Click Insert to add a new row to the name/value columns. Select the added row and double-click the Name or Value field with the left mouse button in order to edit the field. When you have finished entering your name/value pairs, click Finish. The Process Node definition is saved. You can now create a message node for outputs and inputs.
  10. In the toolbar, select Message Node Icon, hold down the mouse button, and drag the cursor into the drawing area of the Process Editor. The Process Message Wizard appears.
  11. Enter a Name and, optionally, a Description for the message node. Click Next. The Process Message Wizard - Format Window appears.
  12. Select the Usage drop-down and choose whether the input is required or optional for downstream process nodes. Optionally, specify the Format for the node. Click Finish to define the message node.
  13. To create a connection between the process node and the message node, position your cursor on the process or message node so that a pencil icon appears. Click the left mouse button and drag the cursor to the node to which you are making the connection.
  14. Create other process nodes, message nodes, and connections as required for the process flow.
  15. Click Save Icon to save the process flow.