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.

Need to ask questions and get answers via the flow designer

JennyBell
Tera Contributor

I am building a flow where I have a need to ask questions of a non-approver, fulfiller and depending on their answers to pick a particular subflow.  In a former tool I used, it was called "Make a Decision", but Decisions are used differently in SN and it looks like "Ask for approval" is used.  Unfortunately, the questions don't ask for approval or rejection, they ask for a simple, Yes or No answer.  


What do I use to just ask a simple Yes or No question?


Example:  Does the departing user have a Postman account?   Yes or No?  

 

If yes, then do x

If no, then do y.

 

I can do the "if yes and if no", but what do you use to ask the question?  Do you use a variable on the Task to answer the question?  I've done this before, but it honestly doesn't make sense to do to do it this way.    I would like to set it up like the approvals, but have the options as Yes or No, not Approve or Reject.

 

Thoughts?

2 REPLIES 2

Craig Gruwell
Mega Sage

Hi JennyBell,

 

I wonder if using a playbook might help, specifically leveraging the questionnaire activities of a playbook?

https://www.servicenow.com/docs/bundle/yokohama-build-workflows/page/administer/process-automation-d... 

 

2025-05-23_15-09-43.jpg

 

 

Jed
Giga Guru

I would create a task in the flow and add a Yes/No variable to that task.

 

For example:

Task Name: Check Postman Account

Variable: Does the departing user have a Postman account? (Yes/No)

 

Once the task is completed, the Flow can check the value of that variable:

 

If Yes → Subflow A

If No → Subflow B