Creating Events and Process Flows

Create a New Event

To create a new event, perform the following steps:
  1. Open SAS Management Console and connect to a metadata repository.
  2. In the navigation tree, locate 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 appears.
  4. Enter a name and an optional description. Click Next.
  5. Select the type of event that you want to create. Click Next.
  6. Select the type of security to use when running the event. Click Finish to save the event definition.
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, perform the following steps:
  1. Open SAS Management Console and connect to a metadata repository.
  2. In the navigation tree, locate 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 appears.
  4. Enter a name and an optional description. Click Next.
  5. Select whether the execution for the process is single-threaded or multi-threaded. Click Finish to save the process definition.
  6. 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.
  7. From the toolbar, drag the Process Node ( Process node icon ) into the drawing area of the Process Editor. The New Process Node wizard appears.
  8. Enter a name and an optional description. Click Next.
  9. Enter the class to instantiate for this process node, and then click Generate skeleton to generate skeleton code for the class. Click Compile to compile the class. Specify the output directory for the code. Click Next.
  10. (Optional) Add name/value pairs for the process node. 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.
  11. In Process Flow Editor toolbar, drag the message node ( Message node icon ) into the drawing area. The Process Message wizard appears.
  12. Enter a name and an optional description. Click Next.
  13. Select the Usage drop-down list and choose whether the input is required or optional for downstream process nodes. You can also specify the format for the node. Click Finish to define the message node.
  14. 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. Drag the cursor to the node to which you are making the connection.
  15. Create other process nodes, message nodes, and connections as required for the process flow.
  16. Click Save icon to save the process flow.