title: How to access global variables from a custom code activity?
body: <p>Just getting started with WF4.</p>
  
  <p>Ran into a problem with passing some text from a native code activity (located in the middle of a sequential workflow) onto the next (xaml-based) activity in a sequence.</p>
  
  <p>Here is a quick synopsis: a custom native code activity makes a DB call and needs to pass the result to a standard "SendReplyToRecive" activity (which is the last activity in this workflow). There is a global variable "reportValue" defined at the top-level sequence level, but I'm struggling to get to it from within that custom native code activity.</p>
  
  <p>The design surface for this workflow does not offer Arguments, just Variables and Imports, so, I'm not even sure if I could use OutArgument.</p>
  
  <p>How is this done?</p>