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
. The tree in the Workflow Manager has two root nodes: and . 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.- Right-click one of the events and select Reference External Method.
- Scroll down to your assembly and select it. The lower part of the window lists the methods contained in the assembly.
- Select the method that you want associated with the event and click .
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.