The Cúram Workflow Reference Guide provides an introduction to the support for workflow in Cúram. A workflow process definition is the fundamental structure which describes the workflow process within a Cúram application. Workflow process definitions are stored on the database, but can also be represented as .xml files and loaded onto the database as needed. A number of targets exist to allow for the validation of workflow process definition .xml files:
workflow.dir - This parameter denotes the directory within which workflow process definition files are to be validated.
validate.schema.only - This optional parameter, if set to true, only performs schema validation on the workflow xml files and bypasses the full semantic validation that would otherwise be performed.
For example:
ant validateworkflows -Dworkflow.dir= <SERVER_DIR>/path to workflow directory
validate.schema.only - This optional parameter, if set to true, only performs schema validation on the workflow xml files and bypasses the full semantic validation that would otherwise be performed.
For example:
ant validateallworkflows
workflow.file - This parameter denotes the full path to the workflow process definition file that is to be validated.
validate.schema.only - This optional parameter, if set to true, only performs schema validation on the workflow xml file and bypasses the full semantic validation that would otherwise be performed.
For example:
ant validateworkflow -Dworkflow.file= <SERVER_DIR>/path to workflow file to be validated
workflow.file - This parameter denotes the full path to the workflow process definition file that is to be imported.
overwrite (Optional) - This is an optional flag with the default value as false, indicating whether the database should be overwritten if the workflow process definition already exists.
workflow.dir - This parameter denotes the directory from which the workflow definitions should be imported.
overwrite (Optional) - This is an optional flag with the default value as false, indicating whether the database should be overwritten if the workflow process definitions already exist.