This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:software:tim:actionhandler:mandatorydocumenthandler [2016/02/15 11:56] amanda.zens created |
en:software:tim:actionhandler:mandatorydocumenthandler [2021/07/01 09:52] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// | + | ======= MandatoryDocumentHandler ======= |
- | + | ==== Description ==== | |
- | ==== MandatoryDocumentHandler ==== | + | |
Checks if one or more document(s) with one or multiple supplied file names exist, or alternatively, if any documents exist.\\ | Checks if one or more document(s) with one or multiple supplied file names exist, or alternatively, if any documents exist.\\ | ||
If the search yields no results, an error message appears and the process instance can only continue once the required document(s) are attached. | If the search yields no results, an error message appears and the process instance can only continue once the required document(s) are attached. | ||
Line 39: | Line 38: | ||
\\ == Parameter 3 == | \\ == Parameter 3 == | ||
**caseSensitive**\\ | **caseSensitive**\\ | ||
- | Denotes if upper- and lower-case formatting should be considered.\\ | + | Denotes if upper- and lower-case formatting should be considered. This parameter is only taken into account if there is a pattern specified!\\ |
Possible values for this are true (pay attention to upper- and lower-case formatting) or false (ignore). This is set to false by default.\\ | Possible values for this are true (pay attention to upper- and lower-case formatting) or false (ignore). This is set to false by default.\\ | ||
i.e.: | i.e.: | ||
Line 47: | Line 46: | ||
\\ == Parameter 4 == | \\ == Parameter 4 == | ||
**fileType**\\ | **fileType**\\ | ||
- | Declaration of file endings (separated by commas). Checks if all documents conform to the file ending. If only this parameter is supplied, the uploading of documents is not mandatory. However, if these are attached, they must conform to the file endings. \\ | + | Declaration of file endings (separated by commas). Checks if all documents conform to the file ending, no matter if upper- or lower-case (example: given fileType=pdf both .pdf and .PDF are valid). If only this parameter is supplied, the uploading of documents is not mandatory. However, if these are attached, they must conform to the file endings. \\ |
i.e.: | i.e.: | ||
*fileType=pdf,docx,pptx | *fileType=pdf,docx,pptx | ||
Line 63: | Line 62: | ||
==== Example ==== | ==== Example ==== | ||
- | {{ :software:tim:actionhandler:mandatorydocumenthandler.png }} | + | {{ :software:tim:actionhandler:mandatorydocumenthandler_1.png }} |
>> **Attention!** If the check should only determine if a document is attached, the action handler will be executed without the parameter! | >> **Attention!** If the check should only determine if a document is attached, the action handler will be executed without the parameter! |