Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The "Model Conversion Rules" workflow button type allows model conversion rules to be applied to existing models. This option is only available for version level workflow sets.

FieldsDescription
MCRsSelect the list of model conversion sets to be executed when the button is clicked in the order that they should be applied.
Create new modelIf checked then the button will function similar to an Advanced Copy, otherwise the conversion sets will be applied without creating a new model.
Use original source mappings
  • Select this option if the copied model should have the same source mappings as the source model, this way both the source tables and copied tables have source mappings to the same tables.
  • Leave the option un-selected if the copied model should create source mappings on the copied table to point to the original tables.
Import hidden objectsThis option enables hidden objects to be imported with the copied model and later on manipulated.
  • To manipulate hidden columns, right click on any diagram Columns, select Column and then Manage hidden columns.
  • To manipulate a table, right click anywhere around the diagram tables, select Tables and then Manage hidden tables.

Workflow Scripts

The Script workflow button type allows scripts to be executed. Workflow scripts are defined in the Script & Template manager. Select the Refresh option to auto refresh the Repository Tree when a script is executed. This checkbox is available only when a Script type is selected. The following script environment variables are available to all workflow scripts. 

Variable

Description

WSL_BINDIR

The WhereScape 3D installation path. (The default location is 'C:\Program Files\WhereScape\WhereScape 3D'.)

WSL_WORKDIR

The working directory where the script is executed. (The working directory will be in %UserProfile%\WhereScape\3D\scriptExecution.)

WSL_TASK_NAME

A name used to identify the workflow task.

WSL_SEQUENCE

A sequence id to identify each workflow process.

WSL_WRKFL_Repo

The repository name associated with the object selected in the repositories pane.

WSL_WRKFL_Category

The category name associated with the object selected in the repositories pane.

WSL_WRKFL_Model

The model name associated with the object selected in the repositories pane.

WSL_WRKFL_Version

The version name associated with the object selected in the repositories pane.

WSL_WRKFL_Group

The group name associated with the object selected in the repositories pane.

WSL_SCRIPT_<Script_Name>_CODE

The full path to the script specified. The script should be stored in the WhereScape 3D metadata and will be automatically copied to the working directory before the workflow script is executed.

Validation Templates

The "Validation" workflow button type allows Validation templates to be executed against models. This option is only available for version level workflow sets.

WhereScape Default

Any of the standard WhereScape workflow buttons can be used within user configured workflow sets.