Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Workflow - ServiceNow

I'm new to ServiceNow and followed this tutorial Workflow for Servicenow Incidents to create a simple workflow for an approval request.

The steps that I took on studio of my developer instance:

  • Created an application "ServiceNowApp"
  • Created a table "Order"
  • Created a field "Status"
  • Created a workflow as described on tutorial

My intention is to trigger the workflow by the creation of a new record on Order table and change the Status field based on the decision of the responsable user.

Any advice is welcome to accomplish the goal

Thank you

like image 993
freitas Avatar asked Mar 07 '26 03:03

freitas


2 Answers

When you create the Order table, make sure it extends the Task table. This will allow you to add an approval to it.

Based on that post you should be able to follow things as you build it out in the same manner, just select your Order table.

like image 96
Kirk Avatar answered Mar 09 '26 11:03

Kirk


You can do it using core activities Approval - User and Set Values in your workflow. (Your Order table doesn't need to extend Task table.)

Approval - User creates an approval record for the responsible user and the user can open the record to approve/reject it in the My Approvals menu.

Set Values sets Status field to any value.

Your workflow would look like below:

enter image description here

like image 44
kaitoy Avatar answered Mar 09 '26 10:03

kaitoy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!