Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

triggeractionClassactionparameters description
doCronDailyeditor_Workflow_ActionsfinishOverduedTaskUserAssoc/Checks the deadine dates of a task assoc, if it is overdued, it'll be finished for all lectors, triggers normal workflow handlers if needed.
doCronDailyeditor_Workflow_ActionsdeleteOldEndedTasksemptyDelete all tasks where the task status is 'end', and the last modified date for this task is older than x days (where x is Zf_configuration property taskLifetimeDays)
doCronDailyeditor_Workflow_ActionsdeleteOldEndedTasks{"filesystem": "local", "targetPath": "/backup/task-{id}-{taskNr}-{taskName}.zip"}

Same as above deleteOldEndedTasks BUT makes an export (original format and XLF2 + task metadata as JSON file) to the location given in targetPath. Basically all values given in {curly braces} are replaced with the same named value from the task json, so the naming of the zip files can be controlled.

SFTP is implemented as target too, example:

Code Block
{
    "filesystem": "sftp", 
    "targetPath": "/backup/task-{id}-{taskNr}-{taskName}.zip",
    "host": "HOSTNAME_OR_IP",
	"port": 1234,
    "username": "USERNAME", 
    "password": "PASSWORD"
}

Apart from the local filesystem and SFTP, WebDAV and several cloud services can be addressed. Get in contact with MittagQI to get more information here.

Port is optional, must be given as integer.

targetPath must contain the whole absolute path on the server. You get that after logging in with an ordinary sftp tool to your sftp server.


doCronDailyeditor_Workflow_NotificationnotifyOverdueDeadline{"receiverUser":"aleksandar10","daysOffset": 2,"template":"notifyOverdueTasks_MasterPM"}

Notify the users of a task when the delivery date is over the defined days in the parameters config daysOffset. Available config fields:

receiverUser: the user login to which all of the reminders will be send. If not configured, email reminder to the actual task-associated user

daysOffset: how many days after the deadline date a reminder email will be send

template: template used for the reminder email

doCronDaily

notifyDeadlineApproaching


notifyDeadlineApproaching{"receiverUser":"aleksandar10","daysOffset": 2,"template":"notifyOverdueTasks_MasterPM"}

Notify the the associated users when the deadlineDate is approaching.

receiverUser: the user login to which all of the reminders will be send. If not configured,  email reminder to the actual task-associated user

daysOffset: how many days before the deadline date a reminder email will be send

template: template used for the reminder email

...