Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Use variable in a map? › Re: Use variable in a map?
August 31, 2010 at 5:32 AM
#25811
A simple method would be to use C# scripting functoids:
One page one have a C# scripting functoid with this code:
string globalVariable = null;
public string SetVariable(string param)
{
globalVariable = param;
return param;
}
Then on page 2 add a C# scripting functoid
public string GetVariablePage2()
{
return globalVariable;
}
And on page 3
public string GetVariablePage3()
{
return globalVariable;
}