You can set values in the LocalEnvironment in the same way as setting values in other elements of a message. Add the LocalEnvironment to your message map using the Add or Remove Headers and Folders dialog as described in Mapping headers and folders. If you set any values in the target LocalEnvironment, set the mapping mode property for the Mapping node to a value that contains LocalEnvironment. To do this, select the mapping node in your message flow and click .
You cannot map Local Environment objects that are not listed.