Note: The workflow sample mentioned in this article can be downloaded from the Opalis project on CodePlex: http://opalis.codeplex.com
A Workflow that demonstrates the use of the Map Published Data Activity so that values from one application can be mapped to the appropriate values in another application. An example would be to map numeric values 1, 2, 3 for ‘priority’ to high, medium, low.
This Workflow uses the Custom Start Activity to obtain input data using four variables:
The Map Published Data Activity maps the values entered for Priority and SLA using two mapping rules:
The output Priority_Result, uses the values entered for Priority and maps them to either High, Medium or Low:
The output SLA_Result, uses the values entered for SLA and maps them to either Platinum, Gold or Bronze:
The resulting output is displayed using the Send Platform Event Activity.
Launch the Workflow by starting it from the Operator Console or by running it using the Testing Console. When prompted, enter the appropriate values:
Check the Operator Console Event screen or the Workflow Testing Console log to see the resulting output.
Refer to the Map Published Data Activity Online Help.