Amazon Machine Learning activity

An activity that gives predictions based on an Amazon Machine Learning model for the AgilePoint NX application. You can also skip steps in a process if the conditions specified in the Amazon Machine Learning model occur.

Amazon Machine Learning analyzes the data to create a predication. For example, you have college enrollment data based on historical data. The college enrollment data contains grade, family income, course, and previous school. Based on the college enrollment data, Amazon Machine Learning can predict whether the candidate qualifies for admission to your school.


Amazon Machine Learning activity

Configure the Amazon Machine Learning activity

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

Prerequisites

Good to Know

  • ​​To send an e-mail notification, click Advanced Advanced icon > E-mail Notifications E-mail Notifications icon.

    For more information, refer to Configure E-mail Notifications for Any Activity.

  • In most text fields, you can use process data variables as an alternative to literal data values.
  • You can configure whether this activity waits for other activities before it runs.

    For more information, refer to How Do I Configure an Activity to Wait for Other Incoming Activities?

  • Documentation for Integrations with Third-Party, External, or Open Source Technologies

    The highest priority for AgilePoint NX Product Documentation is accuracy. Whenever feasible, AgilePoint provides input details, business rules, or example values for third-party integrations. These can include any technology that is not native to AgilePoint NX, such as Salesforce, Active Directory, or REST. However this information is subject to change without notice to AgilePoint. Because we can not guarantee the accuracy of this information, the details provided for third-party product input values, as well as examples for third-party product integrations, are limited in the AgilePoint documentation. It is the responsibility of third-party vendors to provide documentation related to these aspects of their software and services.

    For examples of use case implementations or configuration field input values for third-party products, AgilePoint recommends these resources:

    • AgilePoint Community Forums - An AgilePoint-moderated, crowd-sourcing user forum where you can ask questions about specific techniques, the solutions to use cases, workarounds, or other topics that may not be covered in the Product Documentation.
    • Professional Services - If you can not find the information you need for your specific business problem, mentoring is available through AgilePoint Professional Services.
    • Personalized Training - AgilePoint can provide personalized training for your organization. To request personalized training, contact AgilePoint Sales.
    • Third-Party Vendor Documentation - Whenever feasible, AgilePoint provides links to third-party vendor documentation.

      This does not include technology standards or protocols, such as JavaScript, REST, or FTP. Resources for these technical standards are publicly available on the Internet.

You can not connect this activity to your process flow. To configure this activity, put it on the process model not connected to any other activities to configure it.

How to Start

  1. On the Application Explorer screen, do one of these:
  2. Do one of these:
    • Add an activity:
      1. In the Process Builder, in the Activity Library open the Machine Learning Machine Learning icon tab.
      2. On the Machine Learning Machine Learning icon tab, drag the Amazon Machine Learning Amazon Machine Learning icon activity onto your process.
    • Change an activity:
      1. In your process, double-click your activity.

General Configuration

Specifies the basic settings for the Amazon Machine Learning activity.

Figure: General Configuration screen

General Configuration screen

Fields

Field Name Definition

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:
Refer to:

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

Amazon Machine Learning Configuration > Request tab

Configures the score models for an activity where the Amazon Machine Learning model runs.

Figure: Amazon Machine Learning Configuration > Request tab

Amazon Machine Learning Configuration Request tab

Fields

Field Name Definition

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.

Amazon Machine Learning

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

Add Token Add Token icon

Opens this Screen:
Access Token for Amazon Web Services
Function of this Screen:
Configure an access token to connect to Amazon Web Services.

ML Model

Function:
Specifies the Amazon Machine Learning model name to use for predictions.

When you select the access token from the Amazon Machine Learning field, this field shows all your Amazon Machine Learning models.

Accepted Values:
The Amazon Machine Learning model from the list.
Default Value:
None

Activity

Function:
Specifies an activity on which to run the Amazon Machine Learning model.
Accepted Values:
An activity from the list.
Default Value:
None
Accepts Process Data Variables:
No

On Event

Function:
Specifies the activity event where the change occurs.
Accepted Values:
  • Assign Work Item - Amazon Machine Learning runs when a task is Assigned to a participant.
  • Complete Work Item - Amazon Machine Learning runs when a task is Completed.
  • Cancel Work Item - Amazon Machine Learning runs when a task is Cancelled.
  • Enter Activity Instance - Amazon Machine Learning runs when the activity starts.
  • Leave Activity Instance - Amazon Machine Learning runs when the the activity ends.
  • Reassign Work Item - Amazon Machine Learning runs when a task is Reassigned.
  • Work Item Assigned - Amazon Machine Learning runs when a task is Assigned to a participant.
  • Work Item Overdue - Amazon Machine Learning runs when a task is Overdue.
Default Value:
None

Request Mapping

Function:
Connects the eForm values to the Amazon Machine Learning model.
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

Save

Opens this Screen:
Saves the configuration for your score model.

Amazon Machine Learning Configuration > Response tab

Specifies where to store the response from Amazon Machine Learning.

Figure: Amazon Machine Learning Configuration > Response tab

Amazon Machine Learning Configuration Response tab

Fields

Field Name Definition

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.

Amazon Machine Learning

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

Add Token Add Token icon

Opens this Screen:
Access Token for Amazon Web Services
Function of this Screen:
Configure an access token to connect to Amazon Web Services.

ML Model

Function:
Specifies the Amazon Machine Learning model name to use for predictions.

When you select the access token from the Amazon Machine Learning field, this field shows all your Amazon Machine Learning models.

Accepted Values:
The Amazon Machine Learning model from the list.
Default Value:
None

Activity

Function:
Specifies an activity on which to run the Amazon Machine Learning model.
Accepted Values:
An activity from the list.
Default Value:
None
Accepts Process Data Variables:
No

On Event

Function:
Specifies the activity event where the change occurs.
Accepted Values:
  • Assign Work Item - Amazon Machine Learning runs when a task is Assigned to a participant.
  • Complete Work Item - Amazon Machine Learning runs when a task is Completed.
  • Cancel Work Item - Amazon Machine Learning runs when a task is Cancelled.
  • Enter Activity Instance - Amazon Machine Learning runs when the activity starts.
  • Leave Activity Instance - Amazon Machine Learning runs when the the activity ends.
  • Reassign Work Item - Amazon Machine Learning runs when a task is Reassigned.
  • Work Item Assigned - Amazon Machine Learning runs when a task is Assigned to a participant.
  • Work Item Overdue - Amazon Machine Learning runs when a task is Overdue.
Default Value:
None

Store the Response in Custom Attribute / Map Response to AgilePoint Schema

Function:
Specifies where to store the data in the response from Amazon Machine Learning.
Accepted Values:
  • Store the Response in Custom Attribute - Select this option if you expect Amazon Machine Learning to return only one data item.

    In the text field, specify a variable to store the data Amazon Machine Learning returns.

  • Map Response to AgilePoint Schema - Select this option if you expect Amazon Machine Learning to return more than one data item.

    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:
Map Response to AgilePoint Schema.

No default value is specified for the variable. You must select a variable, or map the response to your schema.

Accepts Process Data Variables:
  • If you select Store the Response in Custom Attribute, you must enter a variable.
  • If you select Map Response to AgilePoint Schema, this does not apply.

Save

Opens this Screen:
Saves the configuration for your score model.

Amazon Machine Learning Configuration > Additional Actions tab

Specifies whether to skip the activities in the AgilePoint process when specified conditions occur.

Figure: Amazon Machine Learning Configuration > Additional Actions tab

Amazon Machine Learning Configuration Additional Actions tab

Fields

Field Name Definition

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.

Amazon Machine Learning

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

Add Token Add Token icon

Opens this Screen:
Access Token for Amazon Web Services
Function of this Screen:
Configure an access token to connect to Amazon Web Services.

ML Model

Function:
Specifies the Amazon Machine Learning model name to use for predictions.

When you select the access token from the Amazon Machine Learning field, this field shows all your Amazon Machine Learning models.

Accepted Values:
The Amazon Machine Learning model from the list.
Default Value:
None

Activity

Function:
Specifies an activity on which to run the Amazon Machine Learning model.
Accepted Values:
An activity from the list.
Default Value:
None
Accepts Process Data Variables:
No

On Event

Function:
Specifies the activity event where the change occurs.
Accepted Values:
  • Assign Work Item - Amazon Machine Learning runs when a task is Assigned to a participant.
  • Complete Work Item - Amazon Machine Learning runs when a task is Completed.
  • Cancel Work Item - Amazon Machine Learning runs when a task is Cancelled.
  • Enter Activity Instance - Amazon Machine Learning runs when the activity starts.
  • Leave Activity Instance - Amazon Machine Learning runs when the the activity ends.
  • Reassign Work Item - Amazon Machine Learning runs when a task is Reassigned.
  • Work Item Assigned - Amazon Machine Learning runs when a task is Assigned to a participant.
  • Work Item Overdue - Amazon Machine Learning runs when a task is Overdue.
Default Value:
None

Change Flow

Function:
Specifies whether to skip the specified activities in the AgilePoint process after specific conditions occur.
Accepted Values:
  • Selected - Skips the specified activities in the AgilePoint process.
  • Deselected - Follows the standard process, and does not skip any activities.
Default Value:
Deselected

Configure Conditions

Opens this Screen:
Configure Conditions screen
To Open this Field:
  1. On the Additional Actions tab, click Change Flow.
Function of this Screen:
Specifies the conditions that cause the process to skip activities.

Save

Opens this Screen:
Saves the configuration for your score model.

Amazon Machine Learning Configuration > Configure Conditions screen

Specifies the conditions that cause the process to skip activities.

Figure: Amazon Machine Learning Configuration > Configure Conditions screen

Amazon Machine Learning Configuration Configure Conditions screen

Fields

Field Name Definition

Rule Type

Function:
Specifies a rule to execute.
Accepted Values:
  • IF - Specifies a rule to execute if a specified condition is true.
  • ELSE IF - Specifies a rule to execute if the previous condition is false.

    To open this field, click Add New Rule Add New Rule icon.

  • ELSE - The rule executes if the all the specified conditions are false.
Default Value:
  1. IF
  2. ELSE

Condition

Function:
Specifies a name for a rule in your condition.
Accepted Values:
One line of text that can have spaces.
Default Value:
Rule Name 1

Change Flow

Function:
Specifies the activity to skip in the AgilePoint process after specific conditions occur.

This field shows the activities in AgilePoint process.

Accepted Values:
An activity from the list.
Default Value:
Deselected

Configure Conditions Configure Conditions icon

Opens this Screen:
Condition Builder screen
Function of this Screen:
Creates or changes logical rules. You can put one statement inside another statement to create complex logical expressions.

Add New Rule Add New Rule icon

Function:
Lets you to add more than one rule.

Amazon Machine Learning Configuration > Condition Builder screen

Creates or changes logical rules. You can put one statement inside another statement to create complex logical expressions.

Figure: Amazon Machine Learning Configuration > Condition Builder screen

Amazon Machine Learning Configuration Condition Builder screen

Fields

Field Name Definition

Condition Name

Function:
Specifies a name for your rule.
Accepted Values:
Read only.
Default Value:
Rule Name 1

Validate Validate icon

Function:
Makes sure the rule is correct.

Preview Preview icon

Function:
Shows the preview of your rule.

Rule Variable

Function:
Specifies the value to analyze.
Accepted Values:
Default Value:
None
Accepts Process Data Variables:
Yes
Example:
Refer to:

Operator

Function:
Lets you select the operators for a logical expression.
Accepted Values:
Data Type Expression Operators

String

, ==, StartsWith, EndsWith, Contains, !=, Does Not Contain Data, Contains Data

Bool

==

Date Time

, ==, >, >= , <, <=, !=

Number

, ==, >, >=, <, <=, !=

Default Value:
None
Example:
Refer to:

Rule Value

Function:
The value for the data variable.
Accepted Values:
Default Value:
None
Accepts Process Data Variables:
Yes
Example:
Refer to:

Add Add icon

Function:
Specifies another expression that can be joined to previous expression using the logical AND or OR operator.
  • AND - Specifies the AND operator.
  • OR - Specifies the OR operator.

Subcondition Subcondition icon

Function:
Creates the statement that is a condition of a parent statement.

Delete Delete icon

Function:
Deletes the selected item.

Back Back icon

Function:
Saves your rule and goes back to the Condition Builder screen.