Workflow testing

It can often be difficult to test a workflow. This is especially true for one that is asynchronous and that requires the workflow to wait a specific amount of time before advancing to the next step. To facilitate testing, Guidewire PolicyCenter supports a testing clock that permits the advancing of time (for development-mode servers only). If you have permission, you can access this functionality from the (unsupported) PolicyCenter Internal Tools page. Depending on which clock you define in the ITestingClock.xml plugin registration file, you can do one of the following:

  • Increment the current clock by a given period.
  • Change the setting of the clock to a specific time. The clock remains at that time until another specific time is set.