Action Item Logic
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, when the end user enters the tab Details on the Action Item detail page, but only when the Action Item is not yet in the final state (Done or Rejected).
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
ortargetContext
) 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.
Found an issue in documentation? Write to us.