Knowledge Base
 

  

 

 

Knowledge Base
Previous  BackToCategory  Next  27 of 48
Use the Write Registry node

 

Summary
Requirements
Create a Process
Inserting a Process Variable into the Process
Inserting a Write Registry node into the Process
Configuring the Write Registry node
Connect the nodes
Save the Process
Run the Process

Summary

This article demonstrates how to use the Write Registry node.

Requirements

  1. Enterprise Enabler 2006 Server
  2. Process Designer


Create a 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 name and set it to the name of the registry entry. Create another variable and rename it to path and then set it to the path of the registry entry. Create another variable and rename it to value and set it to the data that should be written to the registry entry.


Inserting a Write Registry node into the Process

In the Toolbox menu go to Send Nodes, select the Write Registry node and drag it into the process designer area. Select the Write Registry node and then select ellipsis of the VariableMappings property. Variable Mappings window appears. Select Name and select name variable in the drop down list under Process Variable Name. Repeat the process to assign path variable toRegistryPath and value variable to Value. Click Done to exit the screen.




Configuring the Write Registry node

Click on the Write Registry node and then select the type of registry key for the RegistryKey property in the Properties window.




Connect the nodes

In the designer window drag the arrow of the connector from the Start node and drop it on the Write Registry node. Drag the arrow from the Write Registry 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 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.



Previous  BackToCategory  Next  27 of 48
Copyright © 2010 by Stone Bond Technologies | Phone: +1 (713) 622-8798   |  Privacy Statement   |  Terms of Use