ServiceNow Workflow Tutorial | ServiceNow Workflow Examples

Article provide complete overview of ServiceNow Workflow i.e. what is workflow in ServiceNow, how to create workflow, interview question related, to workflows, core activities and many other important concepts. Along with theoretical explanation we have given video links of ServiceNow workflow tutorial below which will help you to practically understand the required topic and help you to implement the same. 


servicenow workflow,workflow in servicenow,workflow servicenow


What is ServiceNow Workflow?


I believe we all have heard about processes in ServiceNow applications such as incident management, problem management, knowledge management, agile development, portfolio management etc. 

But how all these processes get implemented or automated into ServiceNow applications.

So, here comes workflow servicenow into picture and answer is a Workflow. So, the Workflow is the sequence of activities which is used to automate the processes in applications.

For example:  We all know about SLA attached to incident record. So, when we work on incident then SLA status gets automatically changed on specific interval of time along with other SLA values. From this example, I want to say that a specific SLA is created and attached for SLA end to end cycle. 

In below video it is practically demonstrate that how to create SLA and how to apply SLA.

example: Same as for approval attached in change incident, service request etc. A specific workflow related to approver and approval activities, a specific SLA is running.

There are lots of example. Which say when we have to automate the process or wants that each step runs automatically other then of manual intervention, then we create SLA for the same.

So, now the questions come that how to create workflow in servicenow.


How to Create Workflow in ServiceNow?


There are lots of activities which performed different-different tasks. Example of task like send emails, set values, timer, approval, run script, end activity, begin activity, If, notifications, approval action and there are lot more other activities too.

These required activities blocks are connected by lines to follow execution paths or to automate the applications processes. Below image of workflow editor interface will provide you some brief on this:


servicenow workflow,workflow in servicenow,create servicenow workflow


The Workflow servicenow starts with Begin Activity block and ends with End activity block and other activities are comes in between begin and end activities as displayed in above image. 


Below Video Will Help you to Understand the ServiceNow Workflow:



ServiceNow Workflow Interview Questions:


Below are the some question which is asked by interviewer at the time of interview on workflow in servicenow:

Question: What is Turnstile?
Answer: 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.

Question: How to cancel the workflow which is running?
Answer: var workflow = new Workflow();
Workflow.cancel(current);

Question: What is parallel flow launcher activity in workflow or in other word it can be asked like how to trigger multiple other workflows?
Answer: The answer is Parallel Flow Launcher activity. This activity can launch multiple sub flows in parallel.  All workflow executed simultaneously in parallel.

Question: Why “.setWorkflow()” is used ?
Answer: t is used to enable or disable the business rule to run. Let’s say if in code gr.setWorkflow(false) is written, then it will disable the running business rules.

I will add more interview question time to time in this servicenow workflow tutorial

If you have faced some questions on workflow, then please do share below in comment box

or 

You need answer on any of your query related to workflow servicenow. Please do comment in below comment box.

We hope above servicenow workflow tutorial helps you to understand the required concept with servicenow workflow examples. We have posted several video related to workflows in our website as well as in our youtube channel. Please do navigate or explore the same and let us know if you need more information in any of the topic related to workflow in servicenow or any other servicenow concepts. Please do let us know your feedback and suggestions in below comment box or you can also email us. Thank you!!! Good Luck. 

4 comments:

  1. I want to put manually trigger condition in workflow by using the ui action button workflow should trigger,can you please me in solving this.

    ReplyDelete
  2. put trigger condition of SOAR workflow manually in ServiceNow SecOps, i.e. from UI action button.

    ReplyDelete
  3. function triggrt1(){
    alert("Workflow is triggered");
    var s = g_form.getValue('short_desctiption');
    g_form.setValue('short_description',s+" wf trigger");
    g_form.save();
    }

    this is the code ,so do I need to create a workflow.Please help me in finding this.

    ReplyDelete
  4. can u provide some examples on service workflow for practice

    ReplyDelete

Thankyou !!!!

Powered by Blogger.