GetPreviousWorkflowStateAlias
Description
Returns the alias associated with the ObjVer previous workflow state.
Syntax
Function GetPreviousWorkflowStateAlias(Vault As Vault, objVer As ObjVer) As String
Parameters
| 
    Name  | 
  
    Data Type  | 
  
    Description  | 
 
| 
    Vault  | 
  
    Vault object containing the Object to process  | 
 |
| 
    objVer  | 
  
    ObjVer of the object to process  | 
 
Return
Returns a string containing the state alias.
Example
'create Pentagon DOCS Script Library object
Set scriptLib = GetExtensionObject("PentagonDOCS.Core.ScriptLibrary")
Dim previousState
previousState = scriptLib.GetPreviousWorkflowStateAlias Vault, ObjVer