Versions Compared

Key

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

Task Management / Trigger Setup / System Triggers [TIL005]

The System Trigger module is also new and only ships with the Task Management module. This new Trigger Setup module has replaced replaces our previous rudimentary trigger system, which required manual file editing in the background, and it now features a user-friendly interface, and users can use this module for both standard VBScripts editing and the Task Management module. This module is used  System Triggers forms part of the base installation and no additional licensing is required.

For information on standard VBScript editing on a specific screen, refer to VBScripts

For the Task Management system users would typically use this module to link a specific process Trigger (for example PickingSlipCreation >> does this process refer to the Main modules that generate the tasks or the System Trigger) to a specific Task (must this task be created under the Task Master List first??), therefore the script files are the mapping of the data from the Trigger process (for example PickingSlipCreation) into the task.

For example: On the HTML5 Put Away screen, when you do a Purchase Receipt where a TrackID was generated, a task will be generated for each TrackID created. That information must then be passed on from the Trigger (TASK_POReceiptfinalize.vbs) to the Task, and the script files are used to pass the information on from the Trigger to the Task.

Info

If you don’t like reading, you can watch the video.

Panel
panelIconId1f3a5
panelIcon:movie_camera:
panelIconText🎥
bgColor#DEEBFF

https://youtu.be/mAOPcGava2Q

001_Premium_TASK_MANAGEMENT_product_UG - v0.13.docxpdf

Try it!

  • From the Main Menu, browse to Task Management / Trigger Setup / System Triggers.

  • The System Triggers screen will open.

  • This new System Triggers interface incorporates all our existing VBScript, as well as the new Task Management VBScript.

  • There are a couple of columns within the data grid to take note of:

    • System Trigger – this refer to the VBScript name that is called.

    • Description – this is a detailed description of the script.

    • VB Enabled – this tick box cannot be checked, but it will be checked if the script is linked to a trigger.

    • Task Enabled – this tick box cannot be checked, but it will be checked if a task is linked to a trigger.

    • Warehouses – this column will list all the warehouses where the specific Trigger will work.

    • Edit – this link can be selected to start editing a specific trigger.

Let us look at the Trigger Maintenance screen when you select the Edit link in the data grid. This is typically where you will link up a specific VBScript with a specific Trigger (and if required, edit it).

  • Click on the Edit link next to one of the System Triggers you want to link the VBScript file too.

  • The Trigger Maintenance screen for that System Trigger will open.

  • The System Trigger and the Description will be populated with the System Trigger name.

  • Select the warehouse(s) or All from the drop-down next to Warehouse. The selected system trigger will then only work in the selected warehouses.

Info

Note: The Warehouse column in the data grid, will display the Warehouses selected.

If existing VBScripts must be edited, then users will enable the VBScript section and link the applicable VBScript.

  • Select the Enabled check box under the VB Script heading, if a specific script must run.

  • The VB Enabled checkbox on the System Trigger screen will then be ticked.

  • Select the Script File from the drop-down menu and select the applicable VBScript. You must have copied it over from the Sample folder to the Trigger folder first.

When creating a new Task, you will only Enable the Task Link (and not the VB Script)

For the Task Management system, the Task Scripts must be enabled:

  • Select the Enabled check box under the Task Link heading, if a specific script must run.

  • The Task Enabled checkbox on the System Trigger screen will then be ticked.

  • Select the Script File from the drop-down menu and select the applicable VBScript that must be linked to the task. You must have copied it over from the Sample folder to the Trigger folder first.

Info

Note: Task scripts will be prefixed with the word TASK_

Info

If the Task scripts is not available in the drop-down you must first copy them from the Sample folder to the Triggers folder under Windows Explorer / Program Files / DATASCOPE / DATASCOPE WMS WebAPI / Triggers / Samples.

  • Select Save

  • The System Triggers module therefore links a specific process Trigger (for example PickingSlipCreation) to a specific Task.

For more information on Editing a linked Script, refer to Editing Scripts