Doorgaan naar de website
OCLC Support

SetWorkflowStatus

Find the syntax, use, parameters, return values, and an example for the SetWorkflowStatus macro command in Connexion client.
Syntax BOOL = CS.SetWorkflowStatus (sStatusName)
Use to Change workflow status for the current record (default: In Progress).

Same as using the menu command Action > Set Status.
Parameters For sStatusName, enter one of the following, enclosed in quotation marks (enter in lowercase, uppercase or mixed cast):
  • Completed (for bibliographic records)
  • Complete (for authority records)
  • In Process
  • In Review
  • New
Comments You must be logged on to run this macro.
Return values TRUE if the action is successful, or FALSE if not.
Example Sub Main()

     Dim CS As Object
     Set CS = GetObject(“Connex.Client”)

     If CS.IsOnline = False Then
          CS.Logon ““, ““, ““
     End If

     CS.OpenWorkform “bks”

     CS.SetWorkflowStatus “New”
End Sub

What this example does
  • Logs on to Connexion if not already logged on, using the default authorization and password you selected in Tools > Options > Authorizations tab.
  • Opens a workform with a Books format.
  • Assigns the workflow status New to the workform.