ServiceNow Workflow Interview Questions 2025

What is workflow?

Workflow consists of a sequence of activities, such as generating records, notifying users of pending approvals, or running server side scripts.

Name 5 activities that you used for your requirement and its usage?

You can mention activities that you have used so far.
However, below are the common activities,
1. Approvals : Group, User or Coordinator approval etc.
2. Conditions : If, Switch, Wait for Condition etc.
3. Run Script.
4. Notifications: Create Event, Notifications.
5. Create Task.

What is turnstile workflow activity? or How to avoid workflow going into infinite loop?

We can use Ternstile activity. The Turnstile activity limits how many times a workflow can pass through the same point.
This activity is useful alongside the Rollback To workflow activity.

How to pass data from one activity to other activity?

By using workflow.scratchpad object

e.g. Store value in one activity as below,
workflow.scratchpad.group_name=grIncident.assignment_group;

Access it in another activity as below,
var groupName=workflow.scratchpad.group_name.

How to pass data from main workflow to sub workflow?

Configure the subflow to accept variables from the parent workflow by defining the inputs.
Include the subflow in the parent workflow and connect the inputs to the parent workflow variables.

How to get values from subflow to main flow?

We can use the Return Value activity in the subflow to return values to the parent workflow.

What is Rollback To workflow activity?

Rollback To determines which activities to reset based on the actual workflow sequence (transition line attachments) of activities between itself and the transitioned to activity, not the execution order. Rollback To then marks all the approvals that have transitioned between the rollback and the transitioned to activity as Not Yet Requested and the tasks as either Open or Pending.

Real time work questions :

Tell us about complex workflow that you created/updated for given requirement? What are the different activities did you use in it? Why you used workflow, why not flow designer? What challenges did you face? what makes you think it was complex workflow?


Prepared and confident for your interview?

Practice makes perfect! Test your skills with our virtual interview practice buddy and ensure you're fully ready for your upcoming interview.

🎯 Start Practicing

User Added Interview Question and Answers

Raj 2024-12-03 08:17:55

as having 3 years of experience as Servicenow Developer what complex customization accordingly interviewer will expect

0 Helpfuls


Neelu 2024-03-02 00:15:31

What is turnstile workflow activity?


Purnendu 2024-05-08 11:56:24
Under Utilities, turnstile activity is available. It is a workflow activity which limit times of a workflow can pass through the same point. Actually, It prevents the infinite loops. For e.g. we can provide allowed iterations count while using this activity.
0 Helpfuls
0 Helpfuls


Mouneshwar 2024-01-19 20:43:10

How can we fetch variable from one workflow to other?

0 Helpfuls


Kapil 2023-09-26 12:01:34

flow designer vs workflow 5 points, which will be used and when?


Renu 2024-04-05 04:40:53
IF we have complex logic which requires lot of scripting then we should go with Workflow, in all other cases we can go with Flow Designer.
0 Helpfuls
Astik Thombare 2024-10-13 22:03:40
Feature/Aspect Flow Designer Workflow Trigger Types Multiple trigger types like Scheduled, Application, and Record triggers. Triggers on Record creation or when specific conditions are met. Integration Capabilities Provides numerous spokes for integrating ServiceNow with external systems using Integration Hub with low code. No built-in support for Integration Hub or easy external system integration. Rollback Feature No rollback action available. Includes a rollback activity to revert to an earlier activity in the workflow. Scripting Limited scripting capabilities; cannot easily handle complex scripting. Supports complex scripting with the ability to use the current object for dot-walking. SLA Timer Support Cannot be used for requirements related to SLA timers. Can be used for SLA timer-related requirements.
0 Helpfuls
0 Helpfuls


Priyanka 2023-07-26 22:58:38

Difference between workflow and flow


Pranav 2023-09-05 06:51:24
1. Flow can be scheduled, workflow cannot. 2. Flow have multiple triggers e.g. Inbound email triggers, Application triggers and Rest Triggers, workflow can be triggered based on record creation or update.
2 Helpfuls
5 Helpfuls


ann 2023-07-06 19:39:09

Hi, I have asked a question in the interview how to get all variables in task form using script in workflow.


Rakesh 2023-07-09 11:54:28
Hi Ann, You can access variables in workflow by using below syntax. current.variables.variable_name (variable_name -> this will be your actual variable name )
0 Helpfuls
Satyapriya Biswal 2023-08-24 19:01:59
To get the variables from task we use task.variable_name To get the variables from RITM we use current.variables.variable_name
0 Helpfuls
2 Helpfuls


vinay 2023-04-07 11:55:10

how to create change request approval policy in servicenow


Shraddha 2023-04-21 06:21:56
Hey Vinay, There is "Change Approval Policies" module in change management where we can create these policies. It is a course of action that can be applied to a change request. It uses a set of variable inputs to evaluate the decisions that are associated with it. For each matching decision, the associated approval definition is applied. More info can be found here : https://docs.servicenow.com/en-US/bundle/utah-it-service-management/page/product/change-management/concept/change-approval-policy.html I was also asked similar question recently so I read and understood about it.
1 Helpfuls
0 Helpfuls


Kishan 2023-03-29 21:40:04

How can you set the approvals in a way, Where if more than 50 percent approvers have approved- approve the request else vice-versa.


Anurag 2023-03-30 06:00:51
Hi Kishan, We can write script in approval activity as below to identify if 50% approvals are approved or 50% are rejected based on result take action. Approval activity script : //Approve based on percentage indicated var approvePercent = 50; if((counts.approved/counts.total)*100 >= approvePercent){ answer = 'approved'; } if((counts.rejected/counts.total)*100 > (100 - approvePercent)){ answer = 'rejected'; } Our ServiceNow Guru explained this very well here : https://servicenowguru.com/graphical-workflow/approval-percentage/
0 Helpfuls
0 Helpfuls






🚀 Power Up Your ServiceNow Career

Join a growing community of smart ServiceNow professionals to stay ahead in interviews, sharpen your development skills, and accelerate your career.

Fuel My Passion

Loving the content? Well, of course you are. Here’s your chance to indirectly fuel the chaos that keeps this website running. Your contribution helps keep the wheels turning and allows me to continue pretending to be a responsible adult—while cranking out more content for you. Thanks for supporting my delusional dreams and helping me keep this website alive!


Buy Me a Coffee

Support with UPI

If you prefer making a UPI payment to support the website maintenance cost, scan the QR code below:

UPI QR Code

Comments

Chandu 2024-05-22 12:51:20
Can there be new section for Flow Designer questions too which will be really helpful.I asked 1. how can you execute activites/action/task parallely in flow designer. 2. How data is shared between two activities in Flow Designer. 3. Trigger REST step in Flow Designer

SN Buddy Team
2024-05-26 06:50:59
Hello Chandu, We have been planning to include Flow Designer question section soon. Thank you for providing set of questions, we will definitely consider this.