- Enterprise Enabler version 5.x
- Process Designer
Create the Log Message Process
Open Enterprise Enabler and create a new process by clicking File » New » Process.

Inserting a Process Variable into the Process
In the Toolbox menu go to Proc. Variables, select Proc. Variable and drag it
into the process designer area. Rename the Proc. Variable to message.
Inserting a Custom Action node into the process
In the Toolbox menu 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 ExecutionCode property in the Propertieswindow.
Click on the Advanced Tab and click the Add Reference button. In the 'Select the assembly to add a reference' dialog box select the SBT.EE.Misc_Utils.dll and click the Open button.
Click on the Code Window tab and enter the following code:
| |
view plain | print |
| 1 |
SBT.EE.Misc_Utils.LogError(new exception(ProcessVariable("message")),System.Diagnostics.EventLogEntryType.Information) |
Click on the Save button to exit the code.
Connect the nodes
In the designer window drag the arrow of the connector from the Start
node and drop it on the Custom Action node. Drag the arrow from the
Custom Action node to the Stop node. The completed process should look like the following figure:
Save the Process
Click anywhere in the empty area on the designer window and rename the
process name 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.

Create the Sub Process
Open Enterprise Enabler and create a new process by clicking File » New » Process.