Configuring tasks for the Assisted Text Authoring widget

To configure task definitions for the Assisted Text Authoring widget, you must configure tasks by task group and task type. You can configure tasks to run when the widget loads, when a business context message is received in the widget, or when you click Generate or Save.

You can configure tasks on the Tasks section in Settings > Configurable Widget Settings.

These task types are available:

  • M3 API
  • GenAI
  • M3 Text Block
  • IDM

Configuring M3 API task types

  1. On the Configure Task window, specify this information:
    Task Name
    Specify the name of the task.
    Level
    Select the level of the task. Level 1 tasks run before level 2 tasks.
    Program
    Specify the M3 program. Alternatively, click the look-up button to search for an M3 program. Select a record from the list of programs and click Save.
    Transaction
    Specify the transaction. Alternatively, click the look-up button to search for a transaction. Select a record from the list of transactions and click Save.
    Input
    Click the look-up button.

    On the data grid, you can perform these tasks:

    • Select Enabled to identify the input fields to submit to the API transaction.
    • Specify an entity type or a variable in the Value field. For example, specify {BCCustomerNumber}.
    Output
    Click the look-up button to select the output fields sent to the widget.
  2. Optionally, click Task Execution Conditions to configure when the task runs. When the condition evaluates to true, the task runs.
  3. Click Save.

Configuring GenAI task types

  1. On the Configure Task window, specify this information:
    Task Name
    Specify the name of the task.
    Level
    Select the level of the task. Level 1 tasks run before level 2 tasks.
    Prompt
    Provide the prompt sent to Infor GenAI.
  2. Optionally, click Task Execution Conditions to configure when the task runs. When the condition evaluates to true, the task runs.
  3. Click Save.

Configuring M3 Text Block task types

  1. On the Configure Task window, specify this information:
    Task Name
    Specify the name of the task.
    Level
    Select the level of the task. Level 1 tasks run before level 2 tasks.
    Task Type
    Select the appropriate operation for the task. For example, select Get.
  2. On the Parameters section, add a key-value pair for the M3 Text Block task:
    1. Click Add.
    2. Specify values for the M3 Text Block in the Key and Value fields. For example, specify TFIL for the key and specify MSYTXH for the value.
    3. Optionally, click the Delete icon to remove a key-value pair.
  3. Optionally, click Task Execution Conditions to configure when the task runs. When the condition evaluates to true, the task runs.
  4. Click Save.

Configuring IDM task types

  1. On the Configure Task window, specify this information:
    Task Name
    Specify the name of the task.
    Level
    Select the level of the task. Level 1 tasks run before level 2 tasks.
    Task Type
    Select the size of the image retrieved from IDM.
    Query
    Specify the image query.
  2. Optionally, click Task Execution Conditions to configure when the task runs. When the condition evaluates to true, the task runs.
  3. Click Save.