+----------------------+-----------------------------------------------------------------------------------------------+
| Code | R28043 |
+----------------------+-----------------------------------------------------------------------------------------------+
| Entity | @Systems.Bpm.UserBusinessRules |
+----------------------+-----------------------------------------------------------------------------------------------+
| Name | ValidIconFormat |
+----------------------+-----------------------------------------------------------------------------------------------+
| Attribute | Icon |
+----------------------+-----------------------------------------------------------------------------------------------+
| Layer | Back-End |
+----------------------+-----------------------------------------------------------------------------------------------+
| Events | Commit |
+----------------------+-----------------------------------------------------------------------------------------------+
| Priority | Normal |
+----------------------+-----------------------------------------------------------------------------------------------+
| Modify | NO |
+----------------------+-----------------------------------------------------------------------------------------------+
| Action | Validate that: |
| |
|
| | UserBusinessRule.Icon.File.Extension == ".JPG" |
| |
|
| | || |
| |
|
| | UserBusinessRule.Icon.File.Extension == ".PNG" |
| |
|
| | || |
| |
|
| | UserBusinessRule.Icon.File.Extension == ".SVG" |
| |
|
| | || |
| |
|
| | UserBusinessRule.Icon.File.Extession == ".ICO" |
+----------------------+-----------------------------------------------------------------------------------------------+
| Description | There are certain recommendations for the right format of the icon image. Valid file formats |
| | are .JPG, .PNG, .SVG, .ICO. All other formats are not allowed. |
+----------------------+-----------------------------------------------------------------------------------------------+
| Message | "The icon must be .JPG,.PNG, .SVG or .ICO. |
| |
|
| | Please, use only images of those types." |
+----------------------+-----------------------------------------------------------------------------------------------+
| Introduced In | 2018.2 |
| Version | |
+----------------------+-----------------------------------------------------------------------------------------------+
| Revocable | NO |
+----------------------+-----------------------------------------------------------------------------------------------+
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.