Click or drag to resize

ITestApiIsFormFieldRequired Method

Evaluate whether the form field is required or not
Examples
var testApi = ctx.Use<ITestApi>();
testApi.IsFormFieldRequired("workflowName", "activityName", "componentName")

Namespace:  Casewhere.Runtime.DSL.Api
Assembly:  Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.1.0
Syntax
C#
bool IsFormFieldRequired(
	string workflowName,
	string activityName,
	string componentName
)

Parameters

workflowName
Type: SystemString
Workflow Name
activityName
Type: SystemString
Activity Name
componentName
Type: SystemString
Form Component Name

Return Value

Type: Boolean
Return true if the form component is required, otherwise, return false
See Also