Defining an Action
Configure the action templates specific to your need.
All actions carried out in Aurea CRM.Web are based on action templates, which need to
configured according to the specific action you want to execute. Action parameters (input
arguments) can be mandatory (Example - the searchAndListName
argument
specifying the Search&List configuration of a Search
action) or
optional (Example - an optional link record for a search).
Actions templates are used for menu actions, buttons and within processes. Based on the action template definition, some actions can only be called for certain contexts. Example - only from the application menu or from within a process.
Example: The menu action A_AllAppointments
(configured e.g. in the S_KPAll
menu) lists all activities linked to e.g. a person record. It calls a Search
action and passes the parent record (link
) and a Search&List configuration (searchAndListName
) to the page.
To define an action:
- Click (Edit) in the Action field of the menu action/button/process step definition.
- Select an Action Template.
The input and output arguments containing a default value are listed.
- Use the / (Show all arguments/Hide empty arguments) buttons to toggle between views and add new arguments.
- Define the action's Input Arguments, e.g. the name of the
Search&List configuration to be used for a
Search
action.Note: For a list of valid input arguments, see the parameter lists in the Action Templates chapter, e.g. for theSearch
action. For further details, see Search Action Parameters. - If you are defining a process step, define the action's Output
Arguments.
Predefined output arguments: Use
uid
anduids
to get one or more selected records (e.g. in theSearch
andQueryRun
actions), or useuid
to get a newly created record from anExpandNew
action. - Click (Add) to add custom arguments (both input and output arguments).
- Click Apply and Save.