Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to test Workflow on Change Request

sandeshbhale
Tera Contributor

Hello everyone,

I’ve created a Record Producer to create a Change Request and have attached a workflow to the Change Request target table.

Case 1:
When the Record Producer creates a Change Request, how can I test and confirm whether the attached workflow is triggering and running correctly?

Case 2:
If we don’t use the Record Producer, is it possible to test the workflow directly on the Change Request record itself?

Any suggestions or best practices for testing workflows in such scenarios would be appreciated.

Thank you!

2 REPLIES 2

Brad Bowman
Kilo Patron
Kilo Patron

You can view a Change record, then click the Show Workflow Related Link to confirm the workflow is running, and see which activities have been completed, and which are in progress.

BradBowman_0-1762814646249.png

The workflow runs whenever a record is created on the Change Request table, it doesn't matter if this is done via a Record Producer, API, or whatever method.

 

How should i enable show workflow related link 

sandeshbhale_1-1762832265157.png
these below are my configurations 

sandeshbhale_2-1762832609575.pngsandeshbhale_3-1762832642245.png