ITestApiGetT(String, String) Method

Get value by name in a workflow.

Definition

Namespace: Casewhere.Runtime.DSL.Api
Assembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.9.8.6
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