← Back ← Return to the available automatic tasks list of applications GeneralAttachmentAvailable from version: | 150 application accepts, cancels or sets variables in selected processes found in the system. It also allows simultaneous acceptance/cancellation of the process and update variables. After variables update documents actions are executed.Configuration parameters | Parameter Category | Parameter Namecomponent downloads documents attached to the process or from the archive and saves them to the indicated location on the disk. |
Panel |
---|
title | Configuration parameters |
---|
|
Parameter name | From version | Description |
---|
|
Parameter | Comments and restrictions |
---|
|
- | Activity type* |
---|
Files download source* | 1.0. |
|
50Process* | 1.0.50 | The name of the process affected by application operationDetermines how the application will operate. | Text | Process end | Non-editable dropdown list | The values to choose from are described in the table below. | TaskSpecifies the source from which files should be downloaded. There are 3 options: - Process - documents attached to the process are downloaded.
- Archive - documents are downloaded from the archive from a specified class of documents.
- File identifiers from the archive - specified files by identifier are downloaded from the archive.
| Text | |
|
Non-editable dropdown list | List of available processes in the system. | Editable field | Displayed value | Passed value |
---|
Process | PROCESS | Archive | ARCHIVE | File identifiers from the archive | FILEIDS |
| Select document class* | 1.0. |
|
50Specifies the task during which the process must be in order for the application to work. | Text | | Non-editable dropdown list | List of available tasks in the process. | Accept button 23 | Decides whether downloading of documents attached to a process should be narrowed down by selecting a specific class of documents. When the parameter is set to No, all documents will be taken into account, no matter what class of documents they belong to. | Logic | No | Editable field | The parameter is available after selecting the Process option in Files download source parameter. | Document class* | 1.0. |
|
50 button with which the task name of the document class from which documents will be |
|
acceptedNoneditable dropdown List of available buttons in task.Multiple process support*50When the search returns more than one process, the application will work on each of them. If set to NO, the application will throw an error. | Logical | Yes | Non-editable dropdown list | |
---|
Searching after variable values | Variables | 1.0.50 | Variables at which the processes will be found. | Text values table | | Non-editable dropdown list | List of available variables in the process. |
Values | 1.0.50 | Values that have variables in the search process. | Text values table | | Editable field | Pass values as text, the application will automatically match the type to type of variables. |
- | Update variables | 1.0.50 | Specifies whether to update the variables together with the acceptance/cancellation. | Logical | No | Non-editable dropdown list | The parameter is shown only if "Accept process" or "Process cancellation" is selected. Shows or hides parameters from the "Set variable values" category. |
Setting variable values | Variables | 1.0.50 | Variables which values we want to set. | Text values table | | Non-editable dropdown list | List of available variables names in the process. |
Values | 1.0.50 | Values that we want to set for variables in the retrieved processes. | Text values table | | Editable field | Pass values as text, the application will automatically match the type to type of variables. When setting a tabular variable, the values should be passed as text after the semicolon, e.g. "value1; value2; value3" (see join function) |
- | Comment in updated process | 1.0.59 | Specifies whether to add a comment with user text to the updated process | Logical | No | Non-editable dropdown list | |
Comment | 1.0.59 | The content of the comment that will be added to the process23 | Optional filtering by indexes of the selected document class. This parameter specifies the name of the index. | Text | | Uneditable drop-down list / editable field | Index list after selecting a document class from the list. If a variable or function is used in the Document class parameter, this parameter becomes an editable field. | Index value | 1.0.23 | Optional filtering by indexes of the selected document class. This parameter specifies the value of the index. | Text | | Editable field | | Download the newest version | 1.0.23 | Downloads the latest version of the document in case the document has more than one version. | Logic | Yes | Editable field | The parameter is available after selecting File identifiers from the archive option in Files download source parameter. | File identifiers | 1.0.23 | Document identifiers to download from the archive. | Integer values table | | Editable field | | Katalog* | 1.0.23 | The path to save the file on the disk. The parameter indicates the location under which the documents attached to the process or from the archive will be saved. | Text | | Editable field | |
|
Parameter*- mandatory field
Activity type
Activity type | Available from version | Value of the parameter to enter (without using the drop down list) | Description |
---|
Acceptance of the task | 50ACCEPT_ACTIVITY | Accepts the selected task from the process specified by the action from the button. | Process cancelation | 1.0.50 | CANCEL_PROCESS | Cancels the selected task from the process. |
Update selected task from the process (previous name: Process update) | 1.0.50 | UPDATE_PROCESS | Updates variables in the selected task from the process. |
Update in all process tasks | 1.0.55 | UPDATE_ALL_ACTIVITIES_WITH_PROCESS | Updates variables in all tasks in the process and updates variables in closed processes. |
Configuration example
version 1.0.50
Image Removed
Application example
Expand |
---|
title | Example 1 Updating a selected task from a process |
---|
|
|
Expand |
---|
title | Example 2 Process cancellation |
---|
|
|
Expand |
---|
title | Example 3 Process update |
---|
|
|
Expand |
---|
title | Example 4 Setting tabular variables |
---|
|
Panel |
---|
title | Example 4 Setting tabular variables |
---|
| If we want to set tabular variables, subsequent values should be entered after the semicolon. To set a tabular variable using other tabular variable we use the join function with the separator ";". Image Removed
|
|
Hide If |
---|
|
Change log1.0.50 1.0.55 - Adding the possibility of updating entire processes (regardless of the task, including closed processes)
1.0.56 - Executing document actions after variables update
Current JIRA |
---|
server | 192.168.1.52 JIRA |
---|
serverId | 2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1 |
---|
key | CUFCMP-486 |
---|
|
Archive JIRA |
---|
server | 192.168.1.52 JIRA |
---|
serverId | 2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1 |
---|
key | CUFCMP-470 |
---|
|
JIRA |
---|
server | 192.168.1.52 JIRA |
---|
serverId | 2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1 |
---|
key | CUFCMP-519 |
---|
|
JIRA |
---|
server | 192.168.1.52 JIRA |
---|
serverId | 2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1 |
---|
key | CUFCMP-528 |
---|
|
|
23 | The name of the file saved on the disk. With the help of context variables: File name with extension, File name without extension, File extension, the target file name can be changed. | Function | | Editable field | The field is optional. If no value is entered, the field will be completed with the original file name. |
Parameter*- mandatory field |
Warning |
---|
In a situation where several documents with the same name will be saved, they would be saved with consecutive numbers in the name, e.g. file.txt, file (1).txt, file (2).txt. If a file is uploaded to a directory where a file with the same name already exists, it is overwritten. |
Panel |
---|
|
Context variable name | From version | Description | Parameter type |
---|
File name with extension | 1.0.23 | Stores the file name with extension of the currently processed document. | Text | File name without extension | 1.0.23 | Stores the file name without extension of the currently processed document. | Text | File extension | 1.0.23 | Stores the file extension of the currently processed document. | Text |
|
Panel |
---|
title | Configuration example |
---|
|
Image Added |