Example: Creating a New Action Template (CAD)
3 min
a powerful use for an action involves creating a template, which is a record with several fields already completed by default an example of such a template is the desktop application failure template, used to create incident records when such failures are reported you can create such a template as part of a form action from the configuration console, click build > automation tools > quick actions to open the actions manager workspace the list of business objects that have actions appears click add/edit for the business object for which to create a template the actions center appears under the create new actions tab, click template the template preview page appears enter information as needed in the following fields create an action template field description enter action name enter desktop application failure enter action description enter template example enter category select templates from the drop down menu this category field merely groups the templates in different categories it is not related to the service category from the field name drop down list, select service , then from the field value drop down list, select desktop service click the add icon to add a row from the field name drop down list, select category , then from the field value drop down list, select application error ensure that the service field is above the category field so that the list of items in the category menu is constrained by the service if you select category before you select a service, the list of items in the category menu is not constrained to the selected service users get validation errors when they use this template by selecting service first, you see only the categories that are associated with the selected service from the actions settings tab, set the following field description publish to lists the roles that need access to this template hide in ui leave this option unchecked to make this template available to the user roles that you publish to click save the action now appears on the list of actions action list if you add a text field to your template, such as adding a description field, you can enter html formatted text to input into html controls when you view the action template , you see parsed html as formatted text however, when you click edit to edit the action template, you see plain text, with the html tags this is as designed
