Description:
This step describes an image in text using Azure Machine Learning (ML) services.
Inputs
- imageFilePath – Image File Path
- varGlobalToStoreValue – Variable / Global to store the description
Returns
- True – step executed successfully
- False – step failed to execute
Usage:

To use this step, you need to set up an Azure ML service in the FlowWright application. Go to the Status > Settings > Configuration page. Select the Azure ML category from the drop-down menu. Click here to learn more about the Azure ML and Cognitive Service subscription.
A sample Azure ML configuration is provided here for reference.

Example:
Let’s build and execute the “clsAzureMLDescribeImageDef” example.
- Create a new process definition named “clsAzureMLDescribeImageDef” and open it in designer mode.
- Drag a "clsAzureMLDescribeImage" step to the canvas.
- Connect the dots between the “Start” and “clsAzureMLDescribeImage” steps, as shown above.
- Define a variable or a global to store the image file path and the description text.
-
Click the “updateVariable” step to configure its “Required” properties. Enter a step name. Then click the Save button. Note: Click the "AI Predict" button to have the Copilot add new process steps that match your process description.

- Click the “updateVariable” step to configure its “Optional” properties. Click the button to update multiple variables. A pop-up window appears for configuration. Click the Add Row (+) button to insert an empty row. Enter a variable or global reference to store the image file path on the application server. Click the Save button. You can insert multiple variables using the Add Row button.

-
Click the “clsAzureMLDescribeImage” step to configure its “Required” properties. Provide a step name. Provide a variable or global reference for the image file path. Provide a variable or global reference to store the image description as text. Click the Save button. Note: Click the "AI Predict" button for the Copilot to add new process steps that match your process description.

- The image file path indicates where the image is stored on the server. The example image used is included below for reference.

- 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 below. Configure the “Logging” using the following properties.

- Save the process definition, create a new instance, and run it. Render the process instance. Click the process step to view its properties. The step should describe an image as text using Azure Machine Learning (ML) services, and store the result in “variable.description” as configured.

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