Click or drag to resize

ITestApiGetT(String, String) Method

Get value by name in a workflow.

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

Parameters

workflowName  String
The name of workflow.
key  String
The key.

Type Parameters

T
The variable type.

Return Value

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