...
| Painel |
|---|
|
| Estado |
|---|
| |
|---|
| subtle | true |
|---|
| title | SCENARIO 2 |
|---|
|
In a Purchase Request process for office supplies to the Purchasing area, the requester needs to submit a photo of the requested material to serve as a reference and facilitate the purchase. This photo can be of various types. Thus, you can set the rules as follows: → The attachment must be greater than or equal to 1 with advanced condition .png|.jpg|.jpeg|.bmp. You are required to add at least 1 attachment with any name that is an image with one of the allowed extensions: .png, .jpg, .jpeg, or .bmp. | Multimedia |
|---|
| name | regra-avançada-2.mp4 |
|---|
| width | 100% |
|---|
| page | Plataforma ❙ Regras para anexos em solicitações |
|---|
| autostart | true |
|---|
| space | fluig |
|---|
| height | 5% |
|---|
|
|
...
...
We have gathered several scenarios here in which you can apply attachment rules. The examples include the rule, a help message to comply with the rule, and the results according to the scenario.
Examples of general, specific, and advanced rules are demonstrated. Click on each scenario to see its details.
...
| Section |
|---|
| Painel |
|---|
| Require at least one attachment in the step.| Cloak |
|---|
|
trueRULE → The attachment must be greater than 0. trueMESSAGE → It is mandatory You are required to add at least one attachment of any type. | Results | | No attachment added. | | | | One attachment with the .pdf extension added. | | | | One attachment with the .zip extension added. | | | | One attachment with the .zip extension and one with the .pdf extension added. | | | | One attachment with the .jpg extension added. | | | One attachment with the .pdf extension, one with the .zip extension, and one with the .jpg extension added. | | |
|
|
| Painel |
|---|
| Prohibit attachment in the step.| Cloak |
|---|
|
To prohibit attachments in a step, it is you do not necessary need to create any rule; just activate the option Prohibit attachments, which determines that no attachments are allowed in the step.
|
|
| Painel |
|---|
| Require an attachment with the .zip extension.| Cloak |
|---|
|
trueRULE → The attachment must be equal to 1 with the extension equal to .zip. trueMESSAGE → It is mandatory You are required to add an attachment with the .zip extension. | Results | No attachment added. | | | One attachment with the .pdf extension added. | | | One attachment with the .zip extension added. | | | | One attachment with the .zip extension and one with the .pdf extension added. | | | | One attachment with the .jpg extension added. | | | | One attachment with the .pdf extension, one with the .zip extension, and one with the .jpg extension added. | | |
|
|
| Painel |
|---|
| Require an attachment with the .zip extension AND an attachment with the .pdf extension.| Cloak |
|---|
|
trueRULES → The attachment must be equal to 1 with the extension equal to .zip. → The attachment must be equal to 1 with the extension equal to .pdf. trueMESSAGES → It is mandatory You are required to add an attachment with the .zip extension. → It is mandatory You are required to add an attachment with the .pdf extension. | Results | No attachment added. | | | One attachment with the .pdf extension added. | | | One attachment with the .zip extension added. | | | | One attachment with the .zip extension and one with the .pdf extension added. | | | | One attachment with the .jpg extension added. | | | | One attachment with the .pdf extension, one with the .zip extension, and one with the .jpg extension added. | | |
|
|
| Painel |
|---|
| Require an attachment with the extension .zip OR .pdf.| Cloak |
|---|
|
trueRULE → The attachment must be equal to 1 with advanced condition .zip|.pdf. trueMESSAGE → It is mandatory You are required to add an attachment with the .zip or .pdf extension. | Results | No attachment added. | | | One attachment with the .pdf extension added. | | | One attachment with the .zip extension added. | | | | One attachment with the .zip extension and one with the .pdf extension added. | | | | One attachment with the .jpg extension added. | | | | One attachment with the .pdf extension, one with the .zip extension, and one with the .jpg extension added. | | |
|
|
| Painel |
|---|
| Require an attachment with the extension .zip and allow other types of attachments to be added or not.| Cloak |
|---|
|
trueRULES → The attachment must be equal to 1 with the extension equal to .zip. → The attachment can be any. trueMESSAGE → It is mandatory You are required to add an attachment with the .zip extension. Results | No attachment added. | | | One attachment with the .pdf extension added. | | | One attachment with the .zip extension added. | | | | One attachment with the .zip extension and one with the .pdf extension added. | | | | One attachment with the .jpg extension added. | | | | One attachment with the .pdf extension, one with the .zip extension, and one with the .jpg extension added. | | |
|
|
| Painel |
|---|
| Prohibit attachment with the extension .zip and allow other types of attachments to be added or not.| Cloak |
|---|
|
trueRULES → The attachment must be equal to 0 with the extension equal to .zip. → The attachment can be any. trueMESSAGE → It is You are not allowed to add an attachment with the .zip extension. Results | No attachment added. | | | One attachment with the .pdf extension added. | | | One attachment with the .zip extension added. | | | | One attachment with the .zip extension and one with the .pdf extension added. | | | | One attachment with the .jpg extension added. | | | | One attachment with the .pdf extension, one with the .zip extension, and one with the .jpg extension added. | | |
|
|
| Painel |
|---|
| Require an attachment with the extension .zip and require at least one other type of attachment.| Cloak |
|---|
|
trueRULES → The attachment must be equal to 1 with the extension equal to .zip. → The attachment must be greater than or equal to 1 with a different extension from .zip. trueMESSAGES → It is mandatory You are required to add an attachment with the .zip extension. → It is mandatory You are required to add at least one attachment with a different extension from .zip. Results | No attachment added. | | | One attachment with the .pdf extension added. | | | One attachment with the .zip extension added. | | | | One attachment with the .zip extension and one with the .pdf extension added. | | | | One attachment with the .jpg extension added. | | Rules not met. | | One attachment with the .pdf extension, one with the .zip extension, and one with the .jpg extension added. | | |
|
|
| Painel |
|---|
| Require one or more attachments of image type.| Cloak |
|---|
|
trueRULE → The attachment must be greater than or equal to 1 with advanced condition .png|.jpg|.gif. trueMESSAGE → It is mandatory You are required to add at least one attachment with the extension .png, .jpg, or .gif. Results | No attachment added. | | | One attachment with the .pdf extension added. | | | One attachment with the .zip extension added. | | | | One attachment with the .zip extension and one with the .pdf extension added. | | | | One attachment with the .jpg extension added. | | Rule met. | | One attachment with the .pdf extension, one with the .zip extension, and one with the .jpg extension added. | | |
|
|
| Painel |
|---|
| Allow only image type attachments, but without making it mandatory| Cloak |
|---|
|
trueRULE → The attachment must be greater than or equal to 0 with advanced condition .png|.jp*g|.gif. trueMESSAGE → Only You are only allowed attachments with the extensions .png, .jpg, .jpeg, or .gif are allowed. Results | No attachment added. | | | One attachment with the .pdf extension added. | | | One attachment with the .zip extension added. | | | | One attachment with the .zip extension and one with the .pdf extension added. | | | | One attachment with the .jpg extension added. | | Rule met. | | One attachment with the .pdf extension, one with the .zip extension, and one with the .jpg extension added. | | |
|
|
| Painel |
|---|
| Require an attachment with specific name and extension.| Cloak |
|---|
|
trueRULE → The attachment must be equal to 1 with the name and extension equal to the name containing the term server and the extension being .log. trueMESSAGE → Only You are allowed only one attachment with the name server.log is allowed. Results | No attachment added. | | | An attachment server.log added. | | | An attachment abcserver.log added. | | | | An attachment server-2018.log added. | | | | An attachment server.txt added. | | Rule not met. | | An attachment server.log.zip added. | | | | An attachment server.zip added. | | |
|
|
| Painel |
|---|
| Require an attachment with a specific term at the beginning of the name and a specific extension.| Cloak |
|---|
|
trueRegras → The attachment must be equal to 1 with advanced condition server*.log. trueMESSAGE → It is mandatory You are required to add an attachment with server at the beginning of the name and with the extension .log.. Results | No attachment added. | | | An attachment server.log added. | | | An attachment abcserver.log added. | | | | An attachment server-2018.log added. | | | | An attachment server.txt added. | | Rule not met. | | An attachment server.log.zip added. | | | | An attachment server.zip added. | | |
|
|
| Painel |
|---|
| Require an attachment with a specific term at the beginning of the name and extension. | Cloak |
|---|
|
trueRULE → The attachment must be equal to 1 with the name and extension containing the term server at the beginning and the extension the term .log at the beginning. trueMESSAGE → It is mandatory You are required to add an attachment with server at the beginning of the name and with .log at the beginning of the extension. Results | No attachment added. | | | An attachment server.log added. | | | An attachment abcserver.log added. | | | | An attachment server-2018.log added. | | | | An attachment server.txt added. | | Rule not met. | | An attachment server.log.zip added. | | | | An attachment server.zip added. | | |
|
|
| Painel |
|---|
| Require an attachment containing a specific term in the name and at the beginning of the extension.| Cloak |
|---|
|
trueRULE → The attachment must be equal to 1 with advanced condition *server*.log*. trueMESSAGE → It is mandatory to You are required to add an attachment that contains server in the name and .log at the beginning of the extension. Results | No attachment added. | | | An attachment server.log added. | | | An attachment abcserver.log added. | | | | An attachment server-2018.log added. | | | | An attachment server.txt added. | | Rule not met. | | An attachment server.log.zip added. | | | | An attachment server.zip added. | | |
|
|
| Painel |
|---|
| Prohibit attachment with a specific term in the name and allow other types of attachments to be added or not.| Cloak |
|---|
|
trueRULES → The attachment must be any with advanced condition !*server*. OR → The attachment must be equal to 0 with advanced condition *server*. → The attachment must be any. trueMESSAGE → It is not allowed to You cannot add an attachment that contains server in the name. Results | No attachment added. | | | An attachment server.log added. | | | An attachment abcserver.log added. | | | | An attachment server-2018.log added. | | | | An attachment server.txt added. | | Rules not met. | | An attachment server.log.zip added. | | | | An attachment server.zip added. | | | An attachment boleto.pdf added. | | |
|
|
| Painel |
|---|
| Prohibit attachment with specific term in the name and require an attachment with another name.| Cloak |
|---|
|
trueRULE → The attachment must be equal to 1 with advanced condition !*server*. trueMESSAGE → It is mandatory You are required to add an attachment that does not contain server in the name. Results | No attachment added. | | | An attachment server.log added. | | | An attachment abcserver.log added. | | | | An attachment server-2018.log added. | | | | An attachment server.txt added. | | Rule not met. | | An attachment server.log.zip added. | | | | An attachment server.zip added. | | | | An attachment boleto.pdf added. | | |
|
|
| Painel |
|---|
| Require attachment with specific extension only if it has a specific name or any attachment of another extension.| Cloak |
|---|
|
trueRULE → The attachment must be equal to 1 with advanced condition server.log|!*.log. trueMESSAGE → It is mandatory You are required to add an attachment with the name server and with the extension .log or any attachment with a different extension from .log. Results | No attachment added. | | | An attachment server.log added. | | | An attachment abcserver.log added. | | | | An attachment server-2018.log added. | | | | An attachment server.txt added. | | Rule met. | | An attachment server.log.zip added. | | | | An attachment server.zip added. | | | | An attachment boleto.pdf added. | | |
|
|
| Painel |
|---|
| Require attachment with specific term at the beginning of the name and specific extension or any attachment of another extension.| Cloak |
|---|
|
trueRULE → The attachment must be equal to 1 with advanced condition server*.log|!*.log. trueMESSAGE → It is mandatory You are required to add an attachment with server at the beginning of the name and with the extension .log or any attachment with a different extension from .log. Results | No attachment added. | | | An attachment server.log added. | | | An attachment abcserver.log added. | | | | An attachment server-2018.log added. | | | | An attachment server.txt added. | | Rule met. | | An attachment server.log.zip added. | | | | An attachment server.zip added. | | | | An attachment boleto.pdf added. | | |
|
|
| Painel |
|---|
| Prohibit attachment with specific term in the name and allow any attachment with specific extension.| Cloak |
|---|
|
trueRULES → The attachment must be equal to 0 with the file name containing irpf in the middle. → The attachment must be any with the extension equal to .zip. trueMESSAGES → It is You are not allowed to add an attachment that contains irpf in the name. → It is You are allowed to add any attachment with the extension .zip. Results | No attachment added. | | | An attachment declaracao-irpf.pdf added. | | | An attachment abcserver.log added. | | | | An attachment server-2018.log added. | | | | An attachment server.txt added. | | Rules not met. | | An attachment server.log.zip added. | | | | An attachment server.zip added. | | | An attachment irpf.zip added. | | |
|
|
|
...
Check here some frequently asked questions about attachments in requests or in stages of requests. Click on the question to see its details.
...