Demand survey metric calculations ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2024 07:57 AM - edited 06-03-2024 07:58 AM
Hi All.
I have requirement where a survey need to trigger when demand is in Qualify stage.
As of now - survey is triggering, when demand changes from screening stage to Qualify stage, here a business rule (populate metric results) is running and calculating the metric values.
New requirement : Trigger another survey when Demand is in Qualify stage and calculate the metric results.
and the condition in the script mentioned below.
Screening = state -3
Qualify = state = -4
how can we calculate metric results once again in qualify stage, please help!
#servicenow #SPM #innovation management #Demand management
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2024 12:17 AM
Hi @VedhR, I think I faced a similar use case in my experience with Work4flow. Give the below steps a try:
Log in to your ServiceNow instance and navigate to the Business Rules module.
Create a new business rule for the Demand table.
Set the business rule to run when the Demand state changes to Qualify (state = -4).
In the business rule, add the condition to check if the Demand state is Qualify.
Add the actions to trigger the survey.
Include a script to recalculate the metric results. You can call the existing function or script that calculates the metrics.
Save the business rule and test it to ensure it triggers the survey and recalculates the metrics correctly.
Let me know if it doesn't work. I'll be happy to assist.