Execute workflow jobs

Alfabet supports your enterprise in defining and maintaining workflows in which you can track and coordinate the activities that should be performed by various persons in a particular sequence.

Call up the AlfaAdministratorConsole.exe with the following command line:

The table below displays the command line options:

Command Line Option Mandatory/Optional Explanation
-workflow Mandatory To perform workflow releated jobs, start the console application with
  • -workflow
<type> <workflow name(s)> Mandatory Select one of the following types of batch job:
  • Auto to automatically start workflows
  • Check to send reminder emails and set workflow steps to Expired.
  • StepClosure to automatically close workflow steps
  • DeleteFinished to automatically delete finished workflows
  • RescanResponsibility to reassign workflow responsibilities

The type of workflow is followed by the technical name of the workflow template(s) for which workflows are automatically generated (= Name attribute of the workflow template). If more than one workflow template is specified, the workflow template names must be specified in a comma-separated format without white spaces. If an asterisk (*) is specified, workflows are generated for all workflow templates for which the Automatic Start attribute is defined True.

-RescanMode <selectable mode> Optional If the type of workflow is RescanResponsibility, three different rescan modes can be defined.
  • Select ResetDelegation to update the responsible users of all workflows steps including the workflow steps that have been reassigned to a different user through the step delegation action. Reassignments are not taken into account.
  • Select ReapplyStepDelegation to update the responsible users of all workflows steps and reapply any step delegation decisions users were previously performed through the step delegation action. In this case, responsible users may be added to or removed from a delegated workflow step.
  • Select SkipDelegatedSteps to update the responsible users of all workflows steps except the steps that have been reassigned to a different user through the step delegation action.
-msalias <alias name> Mandatory Enter the alias name as specified in the AlfabetMS.xml configuration file. If a remote alias is specified, the corresponding Alfabet Server must be running. If a server alias is specified, all other Alfabet applications with access to the Alfabet database must be stopped.
-msaliasesfile < Alfabet configuration file path> Optional If the AlfabetMS.xml configuration file that contains the specification of the alias is not located in the same directory as the executable, the path to the AlfabetMS.xml file must be specified with this parameter.
-alfaLoginName Mandatory User name for access to the Alfabet database.

A user can only execute a batch job if the Can Execute Batch Jobs checkbox is selected (=True) for the user.

If the workflow is started via the batch tool AlfaWorkflowCommandPrompt.exe, then the workflow owner is based on the owner of the workflow template. If no workflow template owner is defined, then the current user executing the batch job is the workflow owner.

-alfaLoginPassword Optional Password for access to the Alfabet database.
-DbUser <user name> Mandatory User name for access to the Alfabet database on the database server.

If the access mode to the Alfabet database is Windows Authentication, the command line option -DbUser must be defined without a value for the user name and -DbPassword is not required.

-DbPassword <user password> Optional Password for access to the Alfabet database on the database server.