Summary
Requirements
Create a Process
Insert a Custom Action Node into the Process
Configure the code for the Custom Action Node
Connect the Custom Action Node to other nodes
Save the Process
Run the Process
Check Enterprise Enabler's Event Log
Summary
This article demonstrates how to write messages to Enterprise Enabler's Event Log from a Process.
Requirements
- Enterprise Enabler version 6.x
- Process Designer
Create a Process
Open Enterprise Enabler and create a new process by clicking File >> New >> Process .

Insert a Custom Action Node into the Process
In the Toolbox go to Action Nodes, select Custom Action and drag it into the process designer area.

Configure the code for the Custom Action Node
Click on the Custom Action node and open the code window by
clicking the ellipsis of the ExecutionCode property in the Properties window.

Click on the Code Window and enter the following code.

Click on the Save button and exit the code window.
Connect the Custom Action Node to other nodes
In the designer window drag the arrow of the connector from the Start
node and drop it on the Custom Action node. Again drag the arrow of the connector from the Custom Action node to the Stop node.
Save the Process
Click any where in the empty area on the designer window and rename
the process in the Properties window.

To save the process click the Save button in the Standard toolbar.

Run the Process
Click on the Start the Process button in the Process Designer Toolbar to run the process.

Check Enterprise Enabler's Event Log
Click on the Error Log under the View menu of Enterprise Enabler console.

This will open the Event Viewer. Click on the Enterprise Enabler node in the left pane of the Event Viewer.

Double click on the first Event item in the right pane to view the message
logged by the Custom Action node.
