Configuring a Infor Artificial Intelligence step in workflow
- In the workflow diagram, add a Infor Artificial Intelligence step at the point where a task must be executed.
- Select the Infor Artificial Intelligence element from the workflow diagram.
-
Specify this information in the properties pane:
- Name
- Specify a name for this workflow step.
- Description
- Specify a description for this workflow step.
- Infor Artificial Intelligence Task
-
Select the task type to start:
-
Reload Datasets: Trigger the reloading of datasets for the specified quest name from Data Lake.
-
Retrain Model: Trigger the retraining of the machine-learning model for the specified quest name.
-
Update Production Quest: After a quest model is retrained, use this task to request updating the production quest.
-
Redeploy Endpoint: After a production quest is updated, use this task type to redeploy its endpoint.
Note: For each Infor Artificial Intelligence machine learning task you must add a new step to the workflow. To have a complete orchestration, use all four task types for the same quest. Use them in the same order as they are described earlier in the list. With the workflow modeler you can use any number of Infor Artificial Intelligence steps and it does not validate the sequence. -
- Quest
- Specify the name of the quest for which the selected Infor Artificial Intelligence
task must be executed. Select one of these options:
-
Quest Name: select a quest name from the list provided by the Infor Artificial Intelligence backend. Only the quests with an existing endpoint are available.
-
Quest Name from Parameter: select the name of a workflow parameter of type String or Code. At runtime, this parameter must contain a valid quest name. This can be a constant value or a workflow input parameter.
-
- Service Account
-
Import the service account obtained from Infor Ming.le User Management. The credentials in this service account are used to call the Infor Artificial Intelligence API to execute the Infor Artificial Intelligence task.
Click IMPORT to select the service account file and load it into the workflow step. After the import, the description of the service account is displayed. You can use the same service account in several Infor Artificial Intelligence steps.
-
Click the Test tab to start a
validation of the configuration for the Infor Artificial Intelligence task, quest
name and service account.
If you have selected the option Quest Name from Parameter, you must first specify the name of a quest, then click Test.
-
Click the Settings tab to specify how
to handle errors from the Infor Artificial Intelligence task execution.
-
Select the The workflow
continues option to allow the workflow to continue to
the next step in case of an execution error. Optionally, you can collect
the error response code and error message that are returned:
- Select the Error response code check box and select a workflow parameter of type String, Decimal or Integer.
- Select the Error message check box and select a workflow parameter of type String.
- Select the The workflow fails option to allow this workflow instance to fail in case of an execution error.
-
Select the The workflow
continues option to allow the workflow to continue to
the next step in case of an execution error. Optionally, you can collect
the error response code and error message that are returned:
- Click Save and activate the workflow.