Click or drag to resize

ITestApiGetT Method (String, String)

Get value by name in a workflow.

Namespace:  Casewhere.Runtime.DSL.Api
Assembly:  Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.1.0
Syntax
C#
T Get<T>(
	string workflowName,
	string key
)

Parameters

workflowName
Type: SystemString
The name of workflow.
key
Type: SystemString
The key.

Type Parameters

T
The variable type.

Return Value

Type: T
Value in running workflow by type.
Examples
var testApi = ctx.Use<ITestApi>();
testApi.Get< int >("SampleWorkflow", "IntValue")
See Also