Passa al contenuto principale
Supporto OCLC

SetWorkflowStatus

Find the syntax, use, parameters, return values, and an example for the SetWorkflowStatus macro command in Connexion client.
Sintassi 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
  • Nuovo
Commenti You must be logged on to run this macro.
Return values TRUE if the action is successful, or FALSE if not.
Esempio 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.