Restricting Data By Rules
- 18 Jan 2024
- 1 Minute to read
- Print
- DarkLight
Restricting Data By Rules
- Updated on 18 Jan 2024
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
This tutorial demonstrates how a Systems Administrator can restrict designers from using certain fields in a Data Structure by adding a Data Rule. Data Rules are added by navigating to the systems tab, and help control the amount of changes that can be made to Data Structures. After the Data Rule is set up, it will appear in the Flow Designer when the user searches in All Steps using the search bar.
Example
This example will demonstrate applying a Data Restriction Rule to an Account Data Type. Start by adding a Data Rule that will exclude data fields that start with "a" under Account Data Type.
- From the Designer Studio, navigate to System > Designers > Toolbox Customization > Data Rules.
- Click ADD DATA RULE on the top Action bar.
- Name the Data Rule, then select the Data Type via the Type Name drop-down menu. Click SAVE.
- Right-click the newly created Data Rule from the Data Rules Folder and select Edit Rule.
- Design a Rule stating If the name Starts With a. Save the Rule, then close with X.This Rule evaluates whether or not the name of a property on the Account Data Type starts with the letter a. The Rule Input represents a name Data Field within the Composite Type of Account.
Debug
- To test the Data Restriction Rule. either: Create a New Flow containing the Account Data Structure or navigate to a Flow that contains the Account Data Structure.
- Verify that Data Fields that start with the letter A have been excluded from the list and are no longer visible.
Was this article helpful?