Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Dictionary as an argument and access value based on key

let name = arg["name"] 
output name

Execute

// Execute 
var result = SimpleflowEngine.Run(script, new Dictionary<string, string>
                                          {
                                             {"name", "John" },
                                             {"city", "LA" },
                                             {"state", "California" }
                                          });

var name =  result.Output["name"];