As a workflow build progresses, testing isn’t just a luxury; it’s a necessity. Making sure your hours of productivity remain on the productive side of things should be supported by a “test often, test many” mantra.
To that end, we’ve just introduced Workflow Testing for Nintex Workflow Cloud. It’s an in-workflow testing capability to validate the workflow design and build.
Let’s have a look at the function in more detail. To use this new feature, you must have at least one Save event on the workflow. This means you can now test your Draft workflows without having to go through the Publish and Manual Start process.
Nintex Workflow Testing
Now that we’ve saved, we have the testing option available.
With the below workflow ready to test, let’s see what happens:
Remember that any unconfigured actions in the workflow design will “fail” the workflow test, so make sure to configure before testing. Treat this as a production run of the workflow design.
Because I have a Nintex Form as my start event, I’m prompted to complete the fields within that form, just like an end-user. A component workflow start event would ask for any Start Event variables you have configured.
Once submitted, the workflow will start. Keep in mind that this is a production run of a workflow build. Any create, update, or delete events will trigger on the application that they are bound to.
The workflow will now progress as a production run instance and highlight the various actions along the way. The test will refresh every 10 seconds and update the dialog.
In this instance, I’ve hit a task action, so selecting the task tab in the dialog will allow me to respond within the workflow and continue the workflow test. It will also send the task just as a production workflow would in a real run.
If I select Approve, the task will be marked as Completed, and the workflow test will progress to the next action.
We’d welcome your thoughts on how we can improve this feature — please visit NWC UserVoice and enter your idea.
Interested in learning more about Nintex Workflow? Click here to find out more information.