Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Basic information

Package: com.suncode.plugin.scheduldedtask.task.AcceptActivityWithDBexplorer

Available from version: 1.0.14

 

 

Description

Task searches for selected open tasks from a given user. Then it executes a prepared query for each task (it can execute a query with parameters taken from the process). When the query returns any results, the task will be accepted (it also allows saving the downloaded data to the task before accepting it).

Configuration parameters
Id of the variables from the process

 

Parameter namefrom versionDescriptionThe type of the parameterNotes and Restrictions
Database1.0.14Connection name to database from Data Editor configurationString 
Query name1.0.14Name of the query from the pm_dbqueries table (query_name)String 
userName1.0.14The login of the user for which the tasks will be searched.String 
processDefId1.0.14Process definition IDString 
activityDefId1.0.14Activity definition IDString 
Action name1.0.14The name of the action (button) to be performed when accepting the task.StringSetting the value to blank causes the default accept button (when none is present on the form).
Id of the variables from the process1.0.14A list of variable identifiers (separated by a comma) from the process that will be used to execute the query. The order matters.StringPossibility to use process array variables
Save the received data in the processed activity1.0.14Updates the activity context with the data retrieved from the database. Return column names must match the process variable identifiers.BooleanYou can use aliases on the returned columns in your query
Multiple value support for a header variable1.0.14Possible types BLOCK, FIRST, UNIQUEBoolean

Used when updating header variables in the process

OptionDescription
BLOCKBreaks the selected task if it returns more than one result for a header variable.
FIRSTI'm just rewriting the first value.
UNIQUEI rewrite after the ';' character (semicolon) values unique to the header variable. The variable must be of a text type.
Overwriting tabular variables1.0.14When 'true', the retrieved tabular variables will be replaced, otherwise the new values will be added.BooleanUsed when updating tabular variables in the process
Sample configuration

Sample task configuration:

Sample query:

Change log

1.0.14 (applicable documentation)

  • Create a scheduled task

  • No labels