VarRecord GetStateId() Method

Identifies the calling record's state within a workflow.

Function Signature

 int GetStateId()

Parameters

Parameter Type Description
None

Return

Type Description
int TS_ID of the record's state within the item's workflow. If the record is not from a primary table, then it does not have a workflow and the return value is -1.

Technical Details

SBM ModScript version: 11.3.

Notes

None.

Related Topics

VarRecord