Description:
This step retrieves the brand details of an image.
Inputs
- imageFilePath– file path to the image
- varGlobalToStoreValue– Variable or global to hold the result
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 “clsAzureMLGetBrandsDef” example.
- Create a new process definition named “clsAzureMLGetBrandsDef” and open it in designer mode.
- Drag a "clsAzureMLgetBrands" step to the canvas.
- Connect the dots between the “Start” and “clsAzureMLgetBrands” steps, as shown above.
- Define a variable or a global to store the result.
-
Click the "clsAzureMLgetBrands" step to set up its "Required" properties. Enter a name for the step, specify an image file path, and select a variable or global reference to store the result. Then click the Save button. Note: Click the "AI Predict" button to let Copilot 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 essential for documentation and tracking workflow progress and completion percentage. This is achieved by configuring the step state and percent fields individually, as shown in the images below. Set up the “Logging” with 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 retrieve the brand details, and store the result in “variable.result” 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.