Localize BlockingOutput Messages for Invoke Workflow Control
- Last UpdatedJun 25, 2024
- 1 minute read
You can localize BlockingOutput messages for the Invoke Workflow control.
-
Create a workflow with a BlockingOutput activity and set the message as @@MyBlockingOutput@@ (localization key).
-
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
-
Create a form, and add an Invoke Workflow control and a Text control.
-
Modify properties of the Invoke Workflow control as follows:
-
In the Basic tab, set the Workflow Details, XML Variable Name, and XML Schema properties.
-
In the Advanced tab, set the Execution Mode property to Synchronous to synchronously trigger the workflow created in step 1.
-
In the Scripts tab, set the script for the Post-Workflow Execution property as follows:
control.findById("T1").value = skelta.localize.getString("@@MyBlockingOutput@@");
-
-
Publish the workflow.
-
Preview the form, and click the Invoke Workflow control to get the localized value in the Text control.