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 new and only ships with the Task Management module. This new Trigger Setup module has replaced our previous rudimentary trigger system, which required manual file editing in the background, and now features a user-friendly interface.

This module is used to link a specific process (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 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.1.docx

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.

Linking Scripts to a Trigger

If you click on the Edit link within the System Triggers data grid, under Task Management / Trigger Setup, you will be able to configure an existing Trigger by linking a script to the Trigger (and if required, edit it).

Info

Before you can do this, you must first copy the Sample VBScript files provided, from the Sample folder to the Trigger folder. This ensures that the core VBScripts doesn’t change, and you can do further customization on the copied version. For more information on VBScripts, refer to How to customize pop-up prompt using VBScript

  • Open Windows Explorer on the box where the application, DATASCOPE PREMIUM WMS, is installed.

  • Browse to Program Files / DATASCOPE / DATASCOPE WMS WebAPI / Triggers / Samples

  • Copy the required script files from the Sample filter to the Trigger folder.

Image RemovedOnce you have copied them, go back to the System Trigger screen in DATASCOPE WMS

  • 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.

  • 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)

  • 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 (for example PickingSlipCreation) to a specific Task.

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