Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

Return Results for Silent Configuration

  • Last UpdatedJul 01, 2024
  • 1 minute read

The return results are based on the outcome of the execution of AVEVAWorkTasksConfigurator.exe.

For example: If the value of the ConfigurationType parameter in the WWSKBPMConfig.xml configuration file is defined as DataSource, then the return result is displayed as "0" if the DataSource configuration is successful.

Similarly, based on the outcome for the selected configuration type, the return result is displayed. For more information about the ConfigurationType parameter in the WWSKBPMConfig.xml configuration file, see Configure in Silent Mode Using XML.

  1. Open a Notepad file and add the following script.

    echo off

    cd <AVEVA Work Tasks Install path>\Bin AVEVAWorkTasksConfigurator.exe

    echo %ERRORLEVEL%

  2. Enter the appropriate value for <AVEVA Work Tasks Install path>.

    For example: C:\Program files\AVEVA\Work Tasks\Bin

  3. Save the file with .bat extension.

  4. Open the Command Prompt in the Administrative mode.

  5. Type the path where the Batch file is saved, and then press Enter.

  6. Type the name of the Batch file, and then press Enter.

    The return result of the AVEVAWorkTasksConfigurator.exe is stored in the %ERRORLEVEL% variable. The return result will be one of the following:

    • 0 - If the configuration is successful.

    • 1 - If the configuration is not successful.

    • 2 - If multiple instances of AVEVAWorkTasksConfigurator.exe are running.

TitleResults for “How to create a CRG?”Also Available in