Deploying Workflow Models

The Infinity Process Platform Portal allows to deploy and overwrite models from the Model Management View. Models are deployed via the Deploy Model Wizard that is launched via the Deploy Model icon in the table toolbar and Actions column of the Model Management table.


Figure: Deploy Model

Note
In case you use non-ASCII characters in model element names, you have to add the property carnot.engine.xml.encoding to your carnot.properties file and set it to UTF-8. Otherwise you get an exception during the deployment.

Required Permissions

Note that if the requiredRoles attribute is not set to "Administrator" and you have no administrator rights, but have the permission to modify and deploy models, you also need the permission to manage daemons to be able to deploy models from the Model Management view. Refer to chapter Authorization Manager view for details on how to set this permission.

Deploying New Version

When launched via the Deploy Model icon in the table toolbar, the model or models deployed are deployed as new versions using current semantics.

To deploy the new version of the model:

Click the Deploy Model icon in the table toolbar. The Deploy New Model wizard gets displayed.


Figure: Deploy New Model

Click the Browse button and select the model you want to upload. Once the model is uploaded, following details of the uploaded model are provided:

Deploy New Model Details
Figure: Deploy New Model Details

Note that administrator can upload a single file or zip file that contains multiple XPDL files. Deploying zip files is strongly recommended when referencing is used. In that case, references are automatically established.

You can also specify following deployment options:

Click Deploy if you want to proceed with deployment or else click Cancel to cancel the deployment.

Deploy New Model
Figure: Deploy New Model

If the deployment is successful, the Deployment Status and warnings are displayed. For example, if a model to be deployed does not have a default value set for a configuration variable, a warning for the missing default value for the Configuration Variable is displayed.

Deploy Model (continued)
Figure: Missing Configuration Variable value warning

You can specify the values in the Value column for each missing configuration variable. This creates a consistent value set for Configuration Variables. Alternatively, an appropriate Preferences set can be uploaded prior to Model Deployment via the Configuration Variables View. For more information, please refer to the Viewing and Editing Configuration Variables chapter.

For details on validating configuration variables for a model, please refer to section Configuration Variables of chapter Model Properties in the Business Process Modeling Handbook.

If you like to proceed regardless of the displayed warnings, click Finish.

If the deployment fails the Deployment Status is displayed as icon along with errors and warnings. In this case, the model does not get deployed.

Deploy New Model
Figure: Deploy New Model - Errors and Warnings