Setup

Setup

HelpID: 460022027

Navigation: Tools >> Utilities >> System >> Virtual Triggers Setup

WilloWare will send Scriptlets in text files which can be imported into the Virtual Triggers Setup window.

IMPORT: Click the Import button, then select a Scriptlet file.

Click OPEN.

The Scriptlet will be read from the file, saved to the database, then displayed in the VT Setup window. If the Scriptlet already exists, you will be asked to confirm that you want to overwrite the existing Scriptlet.

DATABASE: the Scriptlet file will NOT contain Database IDs. The Scriptlet will only run in the database(s) selected here.

Click the DATABASES tab.

Mark the database(s) in which you want the Scriptlet to run. Click the Mark All or Unmark All buttons to select/de-select all databases.

Click the DATABASES tab to hide the window.

ACTIVE: by default the Scriptlet will be marked as ACTIVE. Unmark this box to disable it.

SAVE: click SAVE to save the Scriptlet and clear the window.

REFRESH TRIGGERS: after making any changes to Scriptlets, or importing new Scriptlets, clear the window then click the Refresh Triggers button. This will ensure your GP Client is running the current Scriptlets. Other users will need to log-out of GP, then log-in again to have the new Scriptlets activated.

IF YOU RECEIVE ANY WARNINGS DUING WHEN IMPORTING A SCRIPTLET, YOU MAY BE ATTEMPTING TO IMPORT AN OLDER SCRIPTLET FILE THAT THE UTILITY CANNOT READ. FOLLOW THE MANUAL ENTRY STEPS DESCRIBED BELOW.

To manually add a Scriptlet to your system, you will need to copy-paste information from the text file into the Virtual Trigger Setup window.

//willoware.com/wp-content/uploads/2017/01/VirtualTriggers2.png

The top section of the text file contains the information needed for the top section of the window.

Copy the TRIGGER ID from the file and paste it into the Trigger ID field on the window.

Repeat for the Description and Product ID.

Mark the ACTIVE checkbox.

Enter one or more Databases in the Database list.  The Scriptlet will only be active in the Companies you enter here.

//willoware.com/wp-content/uploads/2017/01/VirtualTriggers3.png

 

The next section of the Scriptlet file contains the TRIGGER.  Make sure that TRIGGER is selected in the View.  Then copy the “trigger” section of the text file and paste it into the window, as shown above.

//willoware.com/wp-content/uploads/2017/01/VirtualTriggers4.png

The final section of the Scriptlet file contains the SCRIPT.  Make sure that SCRIPT is selected in the View.  Then copy the “script” section of the text file and past it into the window, as shown above.

Click SAVE.

Click REFRESH TRIGGERS.

The Scriptlet is now active for the current user. Other users will need to close GP, then log-in again to activate the Scriptlets in their GP client.