IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access external services with adapters > Configure and using adapters > IBM WebSphere Adapters > PeopleSoft Enterprise > Configure the module for deployment

Create a custom event project in PeopleTools

To perform asynchronous inbound event processing, the adapter requires an event project in PeopleSoft. Use PeopleTools to create the custom event project.

If your environment requires inbound event support, use a custom event project in PeopleSoft. A sample event project, IBM_EVENT_V600, is provided with the adapter. You can either modify and use the sample project, or you can create your own project using PeopleTools. If you create your own project, use the following steps:


Procedure

  1. Use PeopleTools Application Designer to create and name a new project.

  2. Create the fields for the new project as described in the following table:
    Field name Field description
    IBM_EVENT_ID Numeric value that is retrieved from the IBM_FETCH_ID record. This value is a unique ID for the event.
    IBM_OBJECT_NAME Name of the corresponding business graph.
    IBM_OBJECT_KEYS The get key property names in the Component Interface followed by the key values in name-value pairs. This value is used to retrieve the component from the enterprise information system (EIS).
    IBM_EVENT_STATUS Status of the event. The status is 0 if the event is ready to be polled. The IBMPublishEvent function is called.
    IBM_OBJECT_VERB Verb that is set on the business object graph that contains the retrieved business object.
    IBM_EVENT_DTTM Date on which the event is created. For a future dated event, this value is the effective date.
    IBM_NEXT_EVENT_ID Field that has the latest event ID under the record IBM_FETCH_ ID. The value is incremented for each event that is added to the IBM_EVENT_TBL table. The IBM_EVENT_ID field is populated within that table.
    IBM_XID The transaction ID which ensures providing of assured event delivery.
    IBM_CONNECTOR_ID The unique identifier for the adapter instance that receives a specific event.

  3. Create a record named IBM_EVENT_TBL and add to it all fields you created except IBM_NEXT_EVENT_ID.

  4. Create a record named IBM_FETCH_ID and add to it only the IBM_NEXT_EVENT_ID field.
  5. Open the IBM_FETCH_ID record, select the IBM_NEXT_EVENT_ID field, view the PeopleCode, and select fieldformula.

  6. Copy the PeopleCode for custom event project, found under the Reference section of this documentation, to the project you are creating.

  7. Create a page under your project that contains the fields of the IBM_EVENT_TBL record at level 0. The page can have any name.

  8. Create a component under your project that contains the page you created. The component can have any name.

  9. Create a Component Interface against this component and give it any name. Verify that you use the properties based on the underlying component definition.
  10. Build the entire project, selecting all create options.
  11. Test and confirm that the Component Interface works, using the Component Interface tester.
  12. Generate the Java™ APIs for the Component Interface, and then add the generated classes to the adapter class path. For more information about building a PeopleTools project and testing the PeopleSoft Component Interface, refer to the PeopleSoft documentation.

Configure the module for deployment


Previous topic: Roadmap for configuring the module


Next topic: Create an authentication alias