OL Learn

Debug WF / datamapper

Hi there

I am new to PP so looking for some help…

when writing scripts in WF/designer and data mapper, where/how do you test and debug? is there a way to watch the routine run? it’s not so easy to program when you can’t see the variables/values…

Also, are there any examples of using ‘Watch’ amongst other objects? in workflows? i’m just looking for some starting points

any help will be greatly appreciated, thanks Richard

In Workflow just use the menu debug.
Select a file and use the step function - it is a great debug tool.

Also when writing scripts, it is usefull to use the Watch.Log function, then you get some extra info in the log file.
Just search for watch.log in the help file, the syntax can differ in vb and jscripts.