--- title: Add transactions by user related list description: This example adds a relationship, Last 20 transactions, to the user form. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-user-interface/t\_ExampleTransactionsByUser.html release: australia topic_type: task last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Create defined related lists, Related lists, Forms in the classic environment, Working in the classic environment, Working in Core UI, Configure UIs and portals, Configure user experiences] --- # Add transactions by user related list This example adds a relationship, Last 20 transactions, to the user form. ## Before you begin Role required: admin ## About this task The new relationship creates a list of task records opened by the current user. ## Procedure 1. Navigate to **All** > **System Definition** > **Relationships**. 2. Click **New**. 3. Create a relationship with the following values.
| **Name** | Last 20 transactions |
| **Applies to table** | User \[sys\_user\] |
| **Queries from table** | Task \[task\] |
| **Queries with** | ``` current.addQuery('opened_by', parent.sys_id); ``` |