Description:
This step converts JSON to XML.
Inputs
- inputJSON - Input JSON code
- xmlOutputVar - variable/global to store XML result
Returns
- True – step executed successfully
- False – step failed to execute
Usage:

Example:
Let’s build and execute the “clsJSONtoXMLconverterDef” example.
- Create a new process definition called “clsJSONtoXMLconverterDef” and open the definition in designer mode.
- Drag a “clsJSONtoXMLconverter” step to the canvas.
- Connect the dots between the “Start” and “clsJSONtoXMLconverter” steps, as shown above.
- Click the “clsJSONtoXMLconverter” step to configure its “Required” properties. Provide a name for the step, the JSON code, and a variable or global reference to store the XML result. Then click the Save button. Note: Click the "AI Predict" button for the Copilot to add new process steps that match your process description.

- The “Logging” configuration is necessary for documentation and also measures workflow progress and percent complete. This is achieved by configuring the step state and percent fields individually, as shown in the images below. Configure the “Logging” using the following properties.

- The JSON code is provided here for reference.
{"widget": {
"debug": "on",
"window": {
"title": "Sample Konfabulator Widget",
"name": "main_window",
"width": 500,
"height": 500
},
"image": {
"src": "Images/Sun.png",
"name": "sun1",
"hOffset": 250,
"vOffset": 250,
"alignment": "center"
},
"text": {
"data": "Click Here",
"size": 36,
"style": "bold",
"name": "text1",
"hOffset": 250,
"vOffset": 100,
"alignment": "center",
"onMouseUp": "sun1.opacity = (sun1.opacity / 100) * 90;"
}
}}
- Save the process definition, create a new instance, and execute it. Render the process instance. Click the process step to view its properties. The step should convert the JSON code to XML and store the result in the variable or global, as configured.

Definition Sample:
You may download the sample definition(s) from the link here and later import them (drag-and-drop) to your FlowWright Process Definition (XML file) or Form Definition (HTML file) page.
Note: Please verify and complete the import process steps for any missing configurations, such as file path references and database connections. Then, save the definition to confirm the changes.