List Important Actions in Agents

The pricefx_acc_ag_get_agents_important_actions tool lists the most important action items that Agents created for a user, ranked by due date and impact. You can filter the action items by due date, creation date, and impact value.

Tool Name – pricefx_acc_ag_get_agents_important_actions

Title – Get list of important actions in Agents accelerator

Type – Private

Access Profile – Operator

This tool is only available with the Accelerate Agents 1.7.

Permissions

The tool is available to the Operator access profile when tool access control is on. You can list your own action items. To list the action items of another user, you need the user role ADMINISTER_ACTIONS or MANAGE_ACTIONS.

Parameters

Parameter

Required

Description

assigneeInput

No

User whose action items to list: a login name, an email, or me.

Default: you.

maxRowsInput

No

Maximum number of action items to return, up to 10.

Default: 10.

dueDateFromInput

No

First due date, in yyyy-MM-dd format. The tool returns action items due on or after this date.

dueDateToInput

No

Last due date, in yyyy-MM-dd format. The tool returns action items due on or before this date.

dueRangeInput

No

Due date period: today, this week, this month, last N days, next N days, last N months, or next N months, for example next 7 days.

createdDateFromInput

No

First creation date, in yyyy-MM-dd format.

createdDateToInput

No

Last creation date, in yyyy-MM-dd format.

createdDateRangeInput

No

Creation date period. The values are the same as for dueRangeInput.

impactMetricInput

No

Impact type to rank and filter by: Revenue, Profit, Costs, Trends, Target, Benchmark, or Others. Not case-sensitive.

Default: Revenue.

impactValueFromInput

No

Minimum value of the impact in impactMetricInput.

impactValueToInput

No

Maximum value of the impact in impactMetricInput.

Output

The tool returns a list of action items. Each action item has:

Field

Description

id

ID of the action item.

name

Unique name of the action item, for example AI-1729.

label

Summary of the action item.

status

Status of the action item, for example OPEN.

assignee

Name of the assignee.

creator

Name of the user who created the action item.

dueDate

Due date.

createDate

Date and time when the action item was created.

originatorTypedId

Typed ID of the Agent that created the action item, for example 2187.MO.

originatorLabel

Name of that Agent.

actionItemTypeUniqueName

Type of the action item. Always AG_Action.

Impact fields

Impact values for Profit, Revenue, Costs, Trends, Target, Benchmark, and Others. The field names come from the impact configuration of the partition, for example pfxAcc_AG_revenueImpact.

Revenue, Profit, and Costs impacts are rounded to 2 decimal places and shown with a currency symbol, for example €1,250.00. The other impacts are not money values and have no currency symbol.

Behavior and Limitations

  • The tool lists only action items that Agents created (type AG_Action). Other action items are not included.

  • The tool sorts the action items in this order:

    1. by due date, earliest first;

    2. by the impact in impactMetricInput, largest first;

    3. by creation date, oldest first.

    Action items without a due date or impact value come last.

  • The tool lists action items of every status, including closed ones. To see only open action items, ask the AI assistant to filter the result.

  • The tool returns at most 10 action items per call.

  • When you give a period (dueRangeInput or createdDateRangeInput), the tool ignores the matching from and to dates.

  • last N days covers N days ago up to today. next N days covers today up to N days ahead. Without a number, the period is 1 day or 1 month.

  • today also includes action items due tomorrow, and this week covers 8 days. This is a known issue (see below).

  • An impact filter of 0 has no effect. For example, impactValueFromInput 0 does not exclude negative impacts.

  • Impact values in filters are compared with the stored value, before the currency format is applied.

Errors

Situation

Error Message

No user matches assigneeInput

Could not find user with login name X.

You list another user's action items without an action management role

You don’t have permission to access actions.

A date is not in yyyy-MM-dd format

The date format is invalid. Only the yyyy-MM-dd format is supported.

A period is not supported

Unsupported date search term X.

impactMetricInput is not supported

Unsupported impact metric: X. Supported values: revenue, profit, target, costs, trends, benchmark, others