View this page in the latest version of Appian. Configure Record Actions Share Share via LinkedIn Reddit Email Copy Link Print On This Page Build Modern Appian Interfaces Fast - Record Actions Appian can generate modern and user-friendly interfaces, like record lists, actions, and views, directly from your data model. In this video, you'll follow an auto insurance use case to learn how to build polished record actions in just a few clicks. This page describes how to configure record actions on a record type. About record actions You can enable users to take action directly from your data by configuring record actions. Record actions allow you to integrate your enterprise processes so users can create, update, or delete data in the context of a record list, record view, or interface. There are two types of record actions: Record list action: Allows users to start a process from the record list, usually to add a new record. Related action: Allows users to start a process from a single record, usually to update or delete that record. Once you configure record actions in the record type, you can reference these actions in interfaces when you use a record type to power a read-only grid or use the record action component. Record list actions Record list actions are links to process models the user can start directly from the record list. You can choose to open a record list action in a dialog, the same tab, or a new tab. After completing a record list action, users return to the record list. When actions are configured to open in a dialog, any user filter values are remembered when returning to the record list. A common use case is to add an action to create a new record. For example, in a Support Case record type, support engineers may need to add new support cases. By default, record list actions display on the record list. Optionally, you can also configure record list actions to display in interfaces. Related actions Related actions are links to process models the user can start directly from a record using information from that record. We call that information the context for the related action. For example, within a support case record, there might be related actions to update the case information or notify the supervisor about case. Related action process models are the same as any other process model, except for a start-form restriction; if the process model has a start form, that form must be a SAIL form. Since record types that use a process model as their source derive related actions from the process model's quick tasks, this restriction doesn't apply to quick tasks. By default, related actions display in the Related Actions view. Optionally, you can configure related actions to display in other record views or in an interface. Record action properties You can configure the following properties for record actions: Property Description Display Name Specify a display name using one of the following options: Select Enter name, and enter a display name. Select Use expression, and enter an expression to return a dynamic display name. (Related actions only) Select Use process model name. The display name will correspond to the name of the process model you select for this action. This name is displayed on the button or link that initiates the action. Follow the recommended naming standard when creating a display name for the action. Key Verify the value. Appian auto-generates this value from the Display Name. This key is used to reference record actions within SAIL components. Description Provide a description for the record action using one of the following options: Select Enter description, and enter a description. Select Use expression, and enter an expression to return a dynamic description. Depending on the type of action, this description will appear in the following location: For record list actions, this text displays in a tooltip when hovering on the record list action button. For related actions, this text displays with the Display Name in the Related Actions view. If the display name is using the process model name, the description will automatically use the process model description. Icon Select the icon you want to display with the action in either the record list or the Related Actions view. The default is a good choice when adding a new record. Dialog HeightDialog Width Select the dialog height and width. These settings apply to record actions that open in a Dialog Box. Configure how record list actions open in the Open Actions In property on the Actions page of the record type. Configure how related actions open in each record view or in a record action component. Configure the dialog shape in the site object. Process Model Select the process model you want to use as a record action. The security for the process model determines who can perform the action. Context (Related actions only) Configure the parameter process variables for your selected process model. By default, parameter values are set to null. Replace null with the value you want to pass to the process model's parameter. Parameters with a type of record type can use rv!record to pass only the record fields needed for the process. Appian will inspect the process's start form and its name field to determine which record fields or related record fields need to be queried to populate the associated interface. You do not need to include all parameters from the process model; only include the parameters you need for the related action, and remove the rest. If you make changes to the process parameters later, you'll need to manually update this field. Security By default, record actions are visible to users who can initiate the associated process model. You can further limit who can see the record action and when by configuring record action security. Go to the Views and Actions Security page to configure record action security. Required supporting objects Regardless of record type configuration, record actions require the following design objects: A process model that represents the workflow of the action. An interface for users to create, update, or delete record data. In your process model, you can use the following smart services to create, update, and delete data based on your data source. If you're working with an external system, you can also configure the process model to sync data from that system. Smart Service Supported Data Source Write Records Database Write to Data Store Entity Database Write to Multiple Data Store Entities Database Delete Records Database Delete from Data Store Entities Database Call integration Salesforce Sync Records All data sources Generate record actions If you have a database-backed record type with data sync enabled, Appian can generate common record actions for that record type using basic information you provide. The generated actions use existing objects or create new objects to support the actions. To generate record actions: In your record type, go to Actions. Click GENERATE RECORD ACTIONS. Select one or more actions to generate. By default, all actions are selected. CREATE: A record list action that allows users to create a record and its related records. UPDATE: A related action that allows users to update a record and its related records. DELETE: A related action that allows users to delete a record and its related records. Tip: Appian recommends generating the CREATE and UPDATE actions at the same time so you can reuse the same start form and process model for both actions. Click NEXT. Select the record types you want to include in the create and update actions. By default, the base record type is selected and data from any many-to-one relationships is automatically included. Select one-to-one and one-to-many relationships to include those related records in your actions. Only relationships configured to allow writes and deletes to related records will appear. De-select the base record type and select a relationship to only update related data in the action. If you have both Create and Update actions selected, you'll need to de-select the Create action. Note: This selection won't impact the delete action since delete actions automatically delete a record and its related records. Click NEXT. Select a template for the create and update interface. Appian will recommend a template based on the number of record types included in your action, but you can select a template that best fits your needs: Select a Single-Step Form to allow users to enter all information in a single step. Select a Multi-Step Wizard to allow users to enter information in separate steps. Note: This step will not appear if you only generate a delete action since the delete action will always use a simple confirmation dialog. (Optional) Click CUSTOMIZE OBJECTS to customize any of the following: Change where Appian will search for existing objects or create new objects to support your actions. Change the action display names, icons, or descriptions. Change the generated object names. Click GENERATE. Appian generates the action, creating and configuring the objects you reviewed. Learn more about the generated process models and generated interfaces. Customize generated objects To customize the generated actions: From the Customize Objects page, review the suggested values for each action, and change as needed: Property Description Application Specifies where Appian will search for existing objects or create new objects to support your actions. This option only appears if your record type is associated with more than one application in your Appian environment. Display Name Specifies a name for the action. This name is displayed on the button or link that initiates the action. Follow the recommended naming standard when creating this name. Icon Specifies the icon you want to display with the button or link that initiates the action. Description Specifies a brief description of the action. For record list actions, this text displays in a tooltip when hovering on the record list action button. For related actions, this text displays with the Display Name in the Related Actions view. Click REVIEW OBJECTS. Review the objects that Appian will use for your new action, and rename or replace objects as needed: Note: Existing objects are marked with the icon. To change an object: Click next to the object. Continue as appropriate: Change Action Rename a generated object. Click Rename from the dropdown menu. The object name becomes an editable text box. Enter a new name in the text box. Replace a generated object with an existing object. Click Replace with existing object. The object name becomes a dropdown list. In the object dropdown list, select an existing object. Note:You cannot replace a generated interface or process model existing objects. Replace an existing object with a generated object. Click Replace with generated object. The object name becomes an editable text box. Enter a name for the generated object. Click GENERATE. Appian generates the action, creating and configuring the objects you reviewed. Learn more about the generated process models and generated interfaces. Generated process models The generated process models are automatically configured in the following ways. Properties The generated process models contain the following properties: The Process Display Name: For Create or Update actions, the display name is configured with an expression that dynamically displays the appropriate verb ("Create" or "Update") and the record type (for example, "Customer"), followed by the newly created or updated record. For Delete actions, the display name is configured with an expression that displays "Delete" and the record type (for example, "Customer"). The Process Priority is set to Normal. The following process variables are configured: Actions Process Variable Type Parameter? All cancel Boolean Yes All record Record type that the action is generated from Yes Create and Update actions only isUpdate Boolean Yes Create and Update actions only countOf<RelatedRecordType>RecordsDeleted One-to-many related record type Yes Create and Update actions only deleted<RelatedRecordType>Records One-to-many related record type Yes Delete actions only countOfRecordsDeleted Number (Integer) No The generated interface is configured as the process start form. The Alert Recipients property for the process model is set to the application administrators group selected during action generation. The Automatic Process Clean-Up property is set to delete processes seven days after completion or cancellation. Nodes The following nodes are present in the process model: Node Description Start Node Initiates the process, using the interface selected during action generation. XOR Gateway Handles the use case where the user chooses to cancel out of the start form. This node evaluates the incoming cancel process variable to determine whether to proceed to the next node (false) or the End Event (true). Write Records Smart Service (Create and Update actions only) Allows you to easily insert or update data in a database table and automatically sync those change in Appian. If you configured record events and you chose to Include Common Event Types, this node will also write the user or automation type that completed the event and when. As a result, "Created record" events are written when a new record is created, and "Updated record" events are written when a record is updated. Delete Records Smart Service Allows you to easily delete data in a database table and automatically sync those changes in Appian. This node is used in Delete actions.It also appears in Create and Update actions if the record type has a one-to-many relationship set to Write or delete related records. This allows users to delete related data when updating a base record (for example, deleting line items from an order). End Node Terminates the process. Security Appian assigns security for the generated process models as follows: Group Permission Level Application administrators group you selected Process Administrator Application users group you selected Viewer Generated create and update interface The generated Create or Update interface includes the following components. Layout Depending on your selected template, the interface is configured to use: A form layout. A wizard layout. The title of the form or wizard layout is set to a combination of "Create" or "Update" and the record type name (for example, "Create Customer"). Rule inputs The interface contains the following rule inputs: Rule Input Type Description cancel Boolean Determines if the form is cancelled. record Record type that the action is generated from Stores record data from the selected record type. isUpdate Boolean Determines whether the form is used to create a new record or update an existing one. deleted<RelatedRecordType>Records One-to-many related record type (Only when one-to-many relationships are included) Stores the related records when users remove them from the form. Components The interface will have a section layout or wizard step for each record type you selected. The components within the section or step depend on the type of relationship between the base record type and the related record type: Relationship with the base record type Display format Self An editable component for each field in the base record type. One-to-one relationship An editable component for each field in the related record type. One-to-many relationship An editable grid with a column for each field in the related record type.If you selected a document management record type, a card layout will appear so users can upload files and modify the document properties. Many-to-one relationship A radio button component or a dropdown component displaying values from the first Text field in the related record type. Note: Some field types (for example Time) do not have editable components in Appian. For these field types, no component is generated and you must manually add a component for that field. There are also two buttons: A Cancel button with the Save Value To property set to the cancel rule input. A button that displays Save or Create, depending on the action. Most properties for this button are set to the default values. However, if the record type for which you're generating an action contains createdBy, createdOn, modifiedBy, and modifiedOn fields, the Save Value To property is automatically configured to update those fields. Security The generated interface inherit security from the folders where they're stored. If your interfaces are stored in a folder Appian generated for you, the inherited security is as follows: Group Permission Level Application administrators group you selected Administrator Application users group you selected Viewer Generated delete interface The generated Delete interface includes the following components: A form layout with the header parameter set to "Delete" and the record type name, followed by a question mark (for example, "Delete Customer?"). A rich text display component containing the default text, "The record will be permanently deleted and cannot be recovered," where "record" is replaced with the name of the record type. A Boolean cancel rule input. A Cancel button with the Save Value To property set to the cancel rule input. A Delete button with the properties set to the default values. The generated interfaces inherit security from the folders where they're stored. If your interfaces are stored in a folder Appian generated for you, the inherited security is as follows: Group Permission Level Application administrators group you selected Administrator Application users group you selected Viewer Configure record actions manually You may decide to configure a record action manually if: The record type uses a source other than a database table. The database-backed record type does not have data sync enabled. You want to add more than the common actions listed above. To configure a record action manually: Create the required supporting objects. In your record type, go to Actions. Under Record List Actions or Related Actions, click Configure a Record Action Manually. Configure the record action properties. For example, the following is the manual configuration of a record list action: The following is the manual configuration of a related action: Click OK. Your new action displays in the Record List Actions or Related Actions section as appropriate. Click SAVE. Display a record action After you create an action in the record type, you can determine where the action appears as described in the following table: Location Description Record List Action Related Action Record list By default, record list actions display as buttons on the record list. When viewing your application on mobile, only the first record list action will be available on the record list. Yes No Related Actions view By default, all related actions configured for a record type are available in a record's Related Actions view. This record view is configured out-of-the-box in the record type, so you cannot modify it; however, you can hide the Related Actions view, if needed. No Yes Record views Related actions can display to end users as buttons on any record view, using related action shortcuts. No Yes Interfaces Record actions can display anywhere in your interfaces, using the record action component or the recordActions parameter of records-powered grids. Yes Yes Note: When viewing your application on mobile, if you're using a record type as the source of a read-only grid in an interface, you can see and use all actions configured in the recordActions parameter of your grid. Display a related action on a record view To display related actions on a record view, you will use related action shortcuts, which are configured on the record view. To configure a related action shortcut: In your record type, go to Views. Open the desired record view. Under Related Action Shortcuts, select the related actions you want to display on the view. Note: Related actions from Quick Tasks won't show up in this list. Under Open Actions In, select how the related action should open. Click OK. Click SAVE. Users will see the selected related actions as buttons when they are on that particular record view. Open actions in You can control whether a record action opens in a dialog, a new tab, or the same tab. By default, record actions will open in a dialog box using the dialog height and width configured in the action. You can customize how a record list action or related action open using the Open Actions In property in the record type. Tip: If you need to customize how an action opens in a specific interface, you can change how record actions open in a record action components. To customize how record list actions open: In the record type, go to Actions. Under Open Actions In, specify how the action should open. By default, record actions open in a DIALOG BOX with the configured Dialog Height and Dialog Width. This option only appears if you have a record list action configured. To customize how related actions open: In the record type, go to Views. Click next the record view that displays your related action as a related action shortcut. Under Open Actions In, select whether the related actions for this view open in a dialog, a new tab, or the same tab. Tip: You can bulk update this setting for all views. Update a record action To update a record action: In your record type, go to Actions. Under Record List Actions or Related Actions, click next to the action you want to update. In the Edit Action window, configure the record action properties. Click OK. Click SAVE. Delete a record action Deleting a record action does not delete the objects supporting the record action. To delete a record action: In your record type, go to Actions. Under Record List Actions or Related Actions, click next to the action you want to delete. Click Delete to confirm the deletion. Click SAVE. Record action security To determine if a user can see a record action, Appian checks the following: Whether the action's security rule includes the user, or its security expression evaluates to true for the user. Whether the user has Initiator permission to the underlying process model. For related actions, whether the user has access to the record. If your record type has data sync enabled, record access is determined by the record-level security. If your record type does not have data sync enabled, record access is determined by default filters. The same applies for quick tasks that appear as related actions for record types that use a process model as their source. If the user does not have the permissions to complete the quick task, the link to the related action will not display under Related Actions. Feedback Was this page helpful? SHARE FEEDBACK Loading...