IDslCompilerContext Methods

Methods

AddDataObject Obsolete
AttachToDataSource Links a ActualData Object that is created in Scripted Activity to a Workflow ActualData Source so it can be used in Form Activity.
BadData Throw an exception when the data is in invalid state
CommitChanges Saves all changes made in this context to the underlying database.
DeleteDataObject(Object) Obsolete
DeleteDataObject(String, Object) Obsolete
Emit Emit data with event name
Error Throw an exception with custom error message.
FindDataObject(String, DataObjectExpression) Obsolete
FindDataObject(String, DataObjectExpression, Int32, Int32) Obsolete
ForceEmit Force emit data with event name
Get(String) Get value object by name.
GetT(String) Get value by name.
GetDataObject Obsolete
GetDataObjectById Obsolete
GetDataObjects Obsolete
GetTempT Get value by name in a context workflow. Throw an exception when key is not existed yet.
Has Determines if a variable exists in the workflow.
HasTempKey Determines if a temporary key exists in the current workflow context.
HasValue Determines if a variable exists in the workflow and it has value e.g. not empty string, not empty array, etc.
LoadDataObject(String, DataLoadingScope) Obsolete
LoadDataObject(String, Object) Obsolete
LoadDataObjectById Obsolete
LoadDataObjects Obsolete
NotFound Throw an exception when the object is not present.
Ref(String) Get the data object is being referenced.
Ref(String, String) Set value for a context reference.
SearchDataObjects(String, DataObjectExpression) Obsolete
SearchDataObjects(String, DataObjectExpression, Int32, Int32) Obsolete
Set Set value for a context variable.
SetDataSource Set a ActualData Object that is created in Scripted Activity to a Workflow ActualData Source so it can be used in Form Activity.
SetTemp Set temporary value in a context workflow. The value only maintaines in memory and will not be persisted to database.
Unauthorized Throw an exception when the user lacking permission
UpdateDataObject(Object, Object) Obsolete
UpdateDataObject(String, Object, Object) Obsolete
UseTApi Factory method to create API objects.
UseIOApiTIOApi Obsolete

See Also