IDslCompilerContextSetTemp Method |
Namespace: Casewhere.Runtime.DSL.CompilerContext
void SetTemp( string key, Object value )
// Assuming a workflow has 2 activities like below: // Activity 1: ctx.SetTemp("Confirmed", true); ctx.SetTemp("ConfirmedOption", 5); // Activity 2: if (ctx.GetTemp<bool>("Confirmed")) DoSomething(ctx.GetTemp<int>("ConfirmedOption"));