Testing Your Workflow Script

See Also

After adding a workflow process to your team solution, you can test the scripting results. Typically in scripting, you can add message boxes to alert you to what has happened. Because the script you are writing executes solely on the server, you never see the message boxes. You can, however, use the Logger object provided with Access Workflow Designer to update a file with messages you have added to your script.

For example, you might want to check the values of variables to debug or verify your script. You can add the following statement to your script to check the value of the manager variable. The following script uses the PrintString method of the Logger object to print the value of a variable.

dim manager
manager = "mymanager"
logger.printstring(manager)

The string is appended to the Modwfe.log file found in the Microsoft Windows® directory.