Declare Variable Within an Atomic Scope Shape RRS feed

  • Question

  • Hi

    I'm trying to implement the following

    I need to declare a variable to access the .net assembly. It needs to be declared in something which is "atomic".

    I can't make my orchestration Atomic because I have a wcf database read-write in it.

    So I have made the orchestration LongRunning.

    My intention is to add a Scope Shape which is Atomic, and declare the variable to access the .net assembly within the "Atomic Scope" which is eluded to in several posts.

    My question - How do I declare this .net assemply variable within the Atomic Scope Shape?



    Friday, March 11, 2016 1:08 PM


All replies

  • Well, you just do.  It's not clear what problem you're having.

    Select the Scope in the Orchestration View (usually on the right side in Visual Studio), expand it if necessary and add the variable under the Variables folder.

    Friday, March 11, 2016 1:14 PM
  • What is the data type of this variable? Only non-serializable data types in .Net need to be handled like this. When you create the Atomic Shape, a similar scope will be created under the Orchestration Variables Section. Variables defined under an Atomic Scope then need not be serializable.

    Refer - Using Variables in Orchestrations.


    Friday, March 11, 2016 1:18 PM