MS Azure Machine Learning activity

An activity that creates score models based on data from your AgilePoint NX app that Microsoft Azure Machine Learning can analyze.


Azure Machine Learning activity

Configure the MS Azure Machine Learning activity

To configure the MS Azure Machine Learning activity, do the procedure in this topic.

Examples

Good to Know

How to Start

  1. Open Process Builder.

    For information about how to open this screen, refer to Process Builder.


    Open Process Builder
  2. In Process Builder, in the Activity Library open the Machine Learning tab.

    Open Machine Learning tab
  3. On the Machine Learning tab, drag the MS Azure Machine Learning activity onto your process.

    Drag MS Azure Machine Learning activity

General Configuration

Specifies the basic settings for the MS Azure Machine Learning activity.

Figure: General Configuration screen

General Configuration screen

Good to Know

  • Documentation for this screen is provided for completeness. The fields are mostly self-explanatory.

Fields

Field NameDefinition

Display Name

Function:
Specifies the activity name that shows in your process.
Accepted Values:
One line of text that can have spaces.
Default Value:
None
Accepts Process Data Variables:
No
Example:
This is a common configuration field that is used in many examples. Refer to:
  • Examples - Step-by-step use case examples, information about what types of examples are provided in the AgilePoint NX Product Documentation, and other resources where you can find more examples.

Description

Function:
Specifies an optional text description for your activity.
Accepted Values:
More than one line of text.
Default Value:
None
Accepts Process Data Variables:
No

Machine Learning Configuration

Configures score models with your process, activities, and schema.

Figure: Machine Learning Configuration > Request tab

Machine Learning Configuration Request tab

Fields

Field NameDefinition

Add Score Model Add Score Model icon

Function:
Creates a score model with a name you specify.

Edit Edit icon

Function:
Changes the selected item.

Delete Delete icon

Function:
Deletes the selected item.
Example:
Refer to:

MS Azure Machine Learning

Function:
Specifies the access token that connects to your Microsoft Azure Machine Learning service.
Accepted Values:
A list of access tokens configured for your environment.
Default Value:
None
Accepts Process Data Variables:
No
Example:
Refer to:

Create Add Token icon

Opens this Screen:
Access Token for Microsoft Azure Machine Learning
Function of this Screen:
Configure an access token to connect to Microsoft Azure Machine Learning.
Example:
Refer to:

Activity

Function:
Specifies an activity in your process you want Microsoft Microsoft Azure Machine Learning to use in your score model.
Accepted Values:
An activity from the list.
Default Value:
None
Accepts Process Data Variables:
No

On Event

Function:
Specifies the activity's event you want to use in your score model.
  1. For a human task activity, you can select events for the activity or the tasks the activity creates.
  2. For a system activity, you can select only events for the activity.
Accepted Values:
  • Assign Work Item - Microsoft Azure Machine Learning runs when a task is Assigned to a participant.
  • Complete Work Item - Microsoft Azure Machine Learning runs when a task is Completed.
  • Cancel Work Item - Microsoft Azure Machine Learning runs when a task is Cancelled.
  • Enter Activity Instance - Microsoft Azure Machine Learning runs when the activity starts.
  • Leave Activity Instance - Microsoft Azure Machine Learning runs when the the activity ends.
  • Reassign Work Item - Microsoft Azure Machine Learning runs when a task is Reassigned.
  • Work Item Assigned - Microsoft Azure Machine Learning runs when a task is Assigned to a participant.
  • Work Item Overdue - Microsoft Azure Machine Learning runs when a task is Overdue.
Default Value:
None

Request Mapping

Function:
Connects the Microsoft Azure Machine Learning API request parameter to your process schema. This is mandatory only if the request passes data from the process schema to parameters in the Microsoft Azure Machine Learning API.
To Open this Field:
  1. On the Machine Learning Configuration screen, click the Request tab.
Accepted Values:
Click the Schema Mapping Schema Mapping icon button to open the Schema Mapper.

Use this screen to connect the request to the data model for your process.

Default Value:
None
Example:
Refer to:

Map Response to AgilePoint Schema

Function:
Specifies the connection from the Microsoft Azure Machine Learning API response parameter to your process schema.
To Open this Field:
  1. On the Machine Learning Configuration screen, click the Response tab.
Accepted Values:
Click the Schema Mapping Schema Mapping icon button to open the Schema Mapper.

Use this screen to connect the response to the data model for your process.

Default Value:
None
Example:
Refer to:

Store the Response in Custom Attribute

Function:
Specifies the process data variable that stores the responses from the Microsoft Azure Machine Learning API method call.
To Open this Field:
  1. On the Machine Learning Configuration screen, click the Response tab.
Accepted Values:
A process data variable that accepts an alphanumeric string in JSON format.
Default Value:
None
Accepts Process Data Variables:
Yes
Example:
[{"Results":{"output1":{"type":"table","value":{"ColumnNames":["Age","State","CardType","Scored Labels","Scored Probabilities"],"ColumnTypes":["Int32","String","String","String","Double"],"Values":[["21","CA","visa","High","0.0183113589882851"]]}}}}]