Using Variables in Atomic Scope

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Using Variables in Atomic Scope

Viewing 1 reply thread
  • Author
    Posts
    • #22301

      Hi,

      I have declared a variable inside orchestration of type int. Now, when I try to use the variable, it throws ‘Identifier X does not exit. Are you missing an assembly reference” Same problem aslo persist with receive message use.

      Is it that i cannot use any variable inside atomic shape or Am i making any mistake?

      How to declare a variable with scope because I do not see any scope property while declaring.

      Thank you in advance.

      Regards,

    • #22307

      In the Orchestration View of Visual Studio, there is a top level node called Variables. If you declare a variable it can be used anywhere in the orchestration. There should also be a top level node for each scope that is contained in the orchestration, if you open this node you will also find a Variables node. Adding a variable here will mean the variable is only available within this scope.

      Orchestration
          variable x;

          Scope_1
          {
             variable y;
             y = x;   
          }

         

      • #22316

        Thanx a lot.

        I am trying but can’t find how to mark the reply as answer?

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.