The pricefx_acc_ag_get_agents_action_item tool returns the details of one action item: its summary, status, assignee, due date, and the impact values that the Agent calculated. The response also includes links to the action item and to the Agent that created it.
Tool Name – pricefx_acc_ag_get_agents_action_item
Title – Get detailed action item in Agents accelerator
Type – Private
Access Profile: Configurator
This tool is only available with the Accelerate Agents 1.7.
Permissions
The tool is available only to the Configurator access profile when tool access control is on.
You can view an action item only if one of the following is true:
-
You are the assignee of the action item.
-
You created the action item.
-
You have the user role ADMINISTER_ACTIONS or MANAGE_ACTIONS. With these roles, you can view any action item.
If none of these is true, the tool returns an error and no action item details.
Parameters
|
Parameter |
Required |
Description |
|---|---|---|
|
|
Yes, if |
Unique name of the action item, for example AI-1729. Not case-sensitive. |
|
|
Yes, if |
Typed ID of the action item, for example 1729.AI. |
|
|
Yes, if |
ID of the action item, for example 1729. |
Give one identifier. If you give several, the action item must match all of them. When you give both actionItemTypedId and actionItemId, the tool uses actionItemTypedId and ignores actionItemId.
Output
The tool returns one action item with the following fields:
|
Field |
Description |
|---|---|
|
|
ID of the action item. |
|
|
Unique name, for example AI-1729. |
|
|
Short summary of the action item. |
|
|
Full description of the action item. |
|
|
Status, for example OPEN or DONE. |
|
|
Date by which the action item should be done. |
|
|
ID and login name of the assignee. |
|
|
ID, name, and login name of the user who created the action item. |
|
|
When the action item was created and last changed. |
|
|
Typed ID of the parent object, if any. |
|
|
Typed ID of the Agent that created the action item, for example 2187.MO. |
|
|
Link to the action item detail page in Pricefx. |
|
|
Link to the Summary step of the Agent that created the action item. |
|
Impact fields |
For each impact type (Revenue, Profit, Costs, Target, Trends, Benchmark, and Others), the impact value and the name of the measure it is based on, for example pfxAcc_AG_revenueImpact and pfxAcc_AG_revenueImpactMeasureName. Fields without a value are empty. |
Revenue, Profit, and Costs impact values are rounded to 2 decimal places and shown with the currency symbol of the Agent, for example €1,250.00. Target, Trends, Benchmark, and Others impact values are not money values, so they have no currency symbol.
Behavior and Limitations
-
The tool returns one action item per call.
-
It returns any action item, not only those created by Agents. For other action items, the impact fields and
agentLinkare empty or not meaningful. -
The links do not work outside the Pricefx application.
actionLinkandagentLinkare relative (#/user/actions/...). They have no base URL and no partition, so the AI cannot give the user a working link. Other tools in the same package build full links, for exampledeepLinkin Partition Manifest.
-
Errors
|
Situation |
Error Message |
|---|---|
|
No identifier is given. |
|
|
|
|
|
No action item matches the identifiers. |
|
|
You are not the assignee or creator and do not have an action management role. |
|