Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Since version 11.0

You will use an Action Item logic when you need to present some information stored in the Action Item to the user on the Details tab of the Action Item detail page.

For example, in Actionable Insights accelerator, this is used to present information about the reason, why the action was created and also about the actions the user could perform to solve the issue found.

When logic is executed

The logic is executed each time, when the end user navigates/opens the tab Details on the Action Item detail page, regardless of the State of the Action Item.

Logic Selection

Logic is selected based on the setting in ActionItemType.formulaName. Note, that the Action Item Type does not need to have a logic assigned.

Logic API

  • Logic Nature: actionItem

    • Logic Type: Calculation/Pricing

  • Execution Types:

    • Standard - Standard execution of this logic to recalculate the results.

  • Information provided to the logic:

    • api.currentItem() - The content of the Action Item itself, provided as a Map. Some of the Action Item fields (e.g. sourceContext or targetContext) could carry important information, which you’d like to present to the end user.

  • Expected logic execution outcome:

    • Results of elements with Display Mode Everywhere

      • can be of almost any type - simple (integer, string, …​) or complex (matrix, chart, …​)

      • will be presented on the Detail tab of the Action Item detail page

      • will be stored on the Action Item object in the field outputs

    • exception - if the logic raised an exception, the results will not be stored and an error is reported to end-user.

  • No labels