{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":4075,"path":"build-workflows/workflow-studio/create-saved-trigger.md","title":"Create a saved record-based trigger","bundle":null,"doc_type":null,"release":"australia","body":"\n# Create a saved record-based trigger\n\nCreate a reusable trigger definition that responds to a record-based event. When a record is created or updated in a specific table, the trigger activates and starts the flows where it is used. You can allow flow authors to select the saved trigger, view its conditions, or add their own conditions.\n\n## Before you begin\n\nRole required: trigger\\_designer, flow\\_designer, or admin\n\n## Procedure\n\n1.  Navigate to **All** &gt; **Process Automation** &gt; **Workflow Studio**.\n\n2.  On the Workflow Studio home page, select **New** &gt; **Trigger**.\n\n3.  Fill in the details for your trigger.\n\n<table id=\"table_l5n_ytp_4dc\"><thead><tr><th>\n\nField\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nTrigger name\n\n</td><td>\n\nUnique name to identify the trigger.\n\n</td></tr><tr><td>\n\nTrigger type\n\n</td><td>\n\nType of trigger to start your flow. Under **Record**, select any of the following:-   **Created**: Starts the flow when a record is created in the specified table.\n-   **Updated**: Starts the flow when a record is updated.\n-   **Created or updated**: Starts the flow on either event.\nFor more information about trigger types, see [Workflow Studio flow trigger types](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-studio/flow-triggers.md).\n\n</td></tr><tr><td>\n\nDescription\n\n</td><td>\n\nDescription of the trigger.\n\n</td></tr><tr><td>\n\nApplication\n\n</td><td>\n\nApplication to create the trigger. The default is Global.The application scope determines which data your trigger can access and what data it can share.\n\n</td></tr></tbody>\n</table>4.  Select **Show additional properties** and fill any additional properties.\n\n    |Field|Description|\n    |-----|-----------|\n    |Accessible from|Choice between whether the trigger data should be accessible only from the specified application or all application scopes.|\n    |Protection|Option to make the trigger read-only.|\n    |Category|Category where your trigger is displayed.|\n    |Trigger annotation|Annotation for your trigger that the user can see before they select it.|\n\n5.  Select **Build trigger**.\n\n6.  Fill in the trigger definition.\n\n<table id=\"table_wmd_rw5_4dc\"><thead><tr><th>\n\nField\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nTable\n\n</td><td>\n\nTable for the trigger.The trigger starts when a record is created or updated in the specified table. For example, if you want the trigger to start when an incident is created or updated, select the Incident table.\n\n</td></tr><tr><td>\n\nConditions\n\n</td><td>\n\nConditions that, when met, activate the trigger and start the flow.You can select if you want the users to view the conditions or add more conditions to the trigger when they use the trigger in a flow.\n\n</td></tr><tr><td>\n\nAdvanced options\n\n</td><td>\n\nAdditional options to choose where and when to run the flow.For more information about the advanced options, see [Workflow Studio flow trigger types](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-studio/flow-triggers.md).\n\nYou can select if you want users to view and modify these options when they use the trigger in a flow.\n\nIf a user modifies the advanced options, any future modifications that you make to these options in the trigger don't affect the user modified settings.\n\n</td></tr></tbody>\n</table>    **Tip:** Your changes are saved automatically in Workflow Studio.\n\n7.  Make the trigger available by selecting **Publish**.\n\n\n## Result\n\nThe trigger is created and published. You can use the trigger in any of your flows. For information about adding a trigger to a flow, see [Use a saved trigger](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-studio/use-saved-trigger.md).\n\n**Parent Topic:**[Building triggers](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-studio/building-triggers.md)\n\n**Related topics**  \n\n\n[Saved flow triggers](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-studio/saved-flow-triggers.md)\n\n[Create a saved scheduled trigger](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-studio/create-scheduled-trigger.md)\n\n[Create a saved external trigger](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-studio/create-saved-external-trigger.md)\n\n"}}