AzureML Get Text Step
Description:
This step extracts text from an image using Azure ML.
Inputs
- imageFilePath – File path to image on the App Server
- selRegionName - Select region name
- varGlobalToStoreValue– Variable or global to hold the result
- varGlobalPercentage - Variable or global to store the accuracy percentage
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 “clsAzureMLGetTextDef” example.
- Create a new process definition named “clsAzureMLGetTextDef” and open it in designer mode.
- Drag a "clsAzureMLGetText" step to the canvas.
- Connect the dots between the “Start” and “clsAzureMLGetText” steps, as shown above.
-
Click the "clsAzureMLGetText" step to configure its "Required" properties. Provide a name for the step. Provide the image file path on the app server. Provide a variable or global reference to store the result text and the accuracy percentage. Then click the Save button. Note: Click the "AI Predict" button for the Copilot to add new process steps that match your process description.

- Click the "clsAzureMLGetText" step to configure its "Optional" properties. Select the region name from the drop-down list. Click the Save button.

- Note: For more information on image regions, please refer to the publication.
- The image file path indicates where the image is stored on the server. The example image used is included below for reference.

- 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 extract text from an image, and store the result in “variable.ResultText” as configured.

Definition Sample:
You may download the sample definition(s) from the provided link 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.