Files
developer.sailpoint.com/docs/extensibility/event-triggers/available/form-submitted.md
2024-02-28 12:14:29 -05:00

53 lines
1.7 KiB
Markdown

---
id: form-submitted
title: Form Submitted
pagination_label: Form Submitted
sidebar_label: Form Submitted
sidebar_class_name: formSubmitted
keywords: ['event', 'trigger', 'form', 'submitted', 'available']
description: Triggered when a form is submitted.
slug: /extensibility/event-triggers/triggers/form-submitted
tags: ['Event Triggers', 'Available Event Triggers', 'Fire and Forget']
---
## Event Context
The Form Submitted events occur after a user has submitted a [custom form](https://documentation.sailpoint.com/saas/help/forms/index.html).
Some uses cases for this trigger include the following:
- Immediately take actions based on data submitted in the form
This is an example input from this trigger:
```json
{
"submittedAt": "2020-06-29T22:01:50.474Z",
"tenantId": "2c9180845d1edece015d27a9717c3e19",
"formInstanceId": "2c9180835d2e5168015d32f890ca1582",
"formDefinitionId": "2c9180835d2e5168015d32f890ca1581",
"name": "Open Service Request",
"createdBy": {
"type": "WORKFLOW_EXECUTION",
"id": "2c9180845d1edece015d27a9717c3e19"
},
"submittedBy": {
"type": "IDENTITY",
"id": "2c9180845d1edece015d27a9717c3e19",
"name": "Neil McGlennon"
},
"formData": {
"department": "IT",
"requestType": "New Laptop",
"laptop": "New Laptop type for Engineer",
"comments": "My laptop is running slow, and I need to get a shiny new laptop to get my work done. Thanks!"
}
}
```
- `formData` contains the information provided by the user who submitted the form. The attributes of `formData` will vary depending on the form definition.
## Additional Information and Links
- **Trigger Type**: [FIRE_AND_FORGET](../trigger-types.md#fire-and-forget)