Trigger an approval to the user's manager, if user select greater than 1 CPU or 8 GB RAM

mishrarakes
Tera Contributor

 

Form Name : Windows Server Configuration Update
 
Short Description : Windows Server Configuration Update
 
Description : This form is to be raised for any Windows Server configuration changes namely Server CPU and RAM. This form is to be submitted only for Windows Server compute resource modification. CPU and RAM increase will require a minimum server downtime of 30 minutes to be performed.
 
Frontend Part:
  • What Windows Server configuration you are looking to update?( Variable type:  Check Box)
  •                 1. CPU
  •                 2. RAM
  •             if user select the CPU then populate 
  •    Please share the CPU increase value. ( Variable type: select box with options 1 to 5)
  •             if user select the RAM then populate 
  •    Please share the RAM increase value.( Variable type: select box with options 4, 8, 16, 32, 64)
  •  
  • Please provide Server Name which you need to be reconfigured Dropdown.( Variable type : Reference, referring to "cmdb_ci_server" table)
  •  
  • Start Date
  •  
  • End Date

Backend Part:

 

Trigger an approval to the user's manager, if user select greater than 1 CPU or 8 GB RAM and also create an SCTASK to any support group.

 

 

I have made the frontend part can someone help me in back end part i am struggling

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@mishrarakes 

what are you using for this flow or workflow?

You can easily achieve using either option

what did you start with and where are you stuck?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hii ankur, I wanted to know , do i need to assign a manager to the user and then use that user manager by adding requested for variable in catalog item to achieve manager's approval. I made the flow but it does not execute for the step when it needs  a manager approval like for cpu or ram more than 1 or 8 gb ram.pls help..

@mishrarakes 

yes unless that user has manager how can approval be sent?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Rajesh Chopade1
Mega Sage

hi @mishrarakes 

You can use flow designer to achieve this.

Flow Steps:

  1. Trigger: Catalog Item is submitted.
  2. Condition: Check if CPU > 1 or RAM > 8.
  3. Action 1: Create an Approval record for the manager.
  4. Action 2: Create an SCTASK for the support group.

 

I hope my answer helps you to resolve your issue, if yes please mark my answer helpful and correct.

thank you

Rajesh