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

AVEVA™ Work Tasks

Localize BlockingOutput Messages for Invoke Workflow Control

Localize BlockingOutput Messages for Invoke Workflow Control

  • Last UpdatedJun 25, 2024
  • 1 minute read

You can localize BlockingOutput messages for the Invoke Workflow control.

  1. Create a workflow with a BlockingOutput activity and set the message as @@MyBlockingOutput@@ (localization key).

  2. Add a key-value pair in an existing or a new text file in the <Workflow Management Install Path>\Locales\<culture>\Forms2 folder in the following format:

    @@<localization_key>@@:Localized Value

  3. Create a form, and add an Invoke Workflow control and a Text control.

  4. Modify properties of the Invoke Workflow control as follows:

    1. In the Basic tab, set the Workflow Details, XML Variable Name, and XML Schema properties.

    2. In the Advanced tab, set the Execution Mode property to Synchronous to synchronously trigger the workflow created in step 1.

    3. In the Scripts tab, set the script for the Post-Workflow Execution property as follows:

      control.findById("T1").value = skelta.localize.getString("@@MyBlockingOutput@@");

  5. Publish the workflow.

  6. Preview the form, and click the Invoke Workflow control to get the localized value in the Text control.

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