Subscribing to an event

After the compiled assembly has been copied into the Enhancement\bin folder, the next step is to subscribe to an event. This is achieved through the Infor Public Sector web interface.

After logging into the system, select System > Agency Personalization > Workflow Manager. The tree in the Workflow Manager has two root nodes: Infor Business Objects and Agency Business Objects. By expanding and browsing through these nodes, you can see all of the available business objects, organized by product family. The node for an individual business objects shows that object's events.

  1. Right-click one of the events and select Reference External Method.
  2. Scroll down to your assembly and select it. The lower part of the window lists the methods contained in the assembly.
  3. Select the method that you want associated with the event and click Save.

The next time the selected business object is run, it will execute the code from the external assembly.

Note: If performing external system interfacing, we recommend that all remote calls are done in an asynchronous manner. This will ensure that the application continues to run in an acceptable end-user fashion.