-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
Description
Problem:
We have internal rules around flow naming conventions - e.g: all record triggered flows must contain context and object:
"Account - Before Save - Update Account Name"
While we can currently pass a custom regex expression into the "FlowName" rule in the config file, there is no way to control the output of a failure, currently we get a generic message.
Solution:
Add a "description" option for rules like the following, to allow us to override the default description defined in the RuleInfo file.
{
"rules": {
"FlowName" : {
"severity":"error",
"expression": "custom regex here",
"description": "You flow must match the format Object - Context - Action, see help article at https://example.com"
}
}
}
RubenHalman