Create a Data Definition
Use data definitions to collect and use pieces of information later in a playbook.
Before you begin
Role required: admin, flow_designer
You will be working in the ServiceNow AI Platform to complete this task.
About this task
A data definition is the information that you want an agent or fulfiller to collect during a playbook run, and is the key input of the Collect user data activity. Playbook authors define the data they
want an agent or fulfiller to collect in the sys_flow_data_definition table. When an agent or fulfiller collects the information, the information is stored in the sys_flow_data table for use
later during the playbook run, instead of in the record table.
- The data is only needed downstream during a single playbook run. It's collected, used, and never needed again.
- You don't need to run any reports on the collected data. If you need any metrics or reports on the collected data, create a table and use the User Form activity instead.
For example, you may have multiple teams that perform activities. One team enters the inputs for a created data definition when they perform a Collect user data activity, and then a second team uses the collected inputs to complete the playbook, and the information is not needed afterwards.
Procedure
Result
The data definition can now be used when configuring activities in Playbooks in Workflow Studio.
Example
- Collect a shipping address, then reference the address when generating a shipping label.
- Ask the user "yes" or "no" questions, and determine subsequent activities based on the user's responses.
What to do next
Per Yaron/Bim, add a topic on defining a form view for your data definition and link down here. Jay Wang is creating draft in sharepoint.
Configure a Collect user data activity in Workflow Studio Playbooks to use your new data definition.