I dont know how to change the value of the field "Order" in a RITM ticket

u362drob
Kilo Contributor

RITM ticket have a field called "Order". I can display it in list but how can I change it's value? When I open a ticket, this field is not displayed in any view!!

 

Thanks for any help on this maner.

 

PS This is my first post, so if I am not following the correct etiquet, let me know

3 REPLIES 3

johnfeist
Mega Sage
Mega Sage

Hi,

 

Order is simply an integer field.  You can make it visible by opening any requested item.  From there click on the "Zebra Stripes" in the top left and select Configure | Form Design.  That will open the form designer in a new tab and let you add Order wherever you want it.  Once you've done that, remember to click save.  When you go back to the form, once again click on the zebra stripes and click on reload form.  Order will appear.  You should be able to change it then.  If you don't want everybody to be able to change Order, simply put the relevant UI Policies around it.

 

BTW, your etiquette is fine!

Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster

Amit Gujarathi
Giga Sage
Giga Sage

HI @u362drob ,
I trust you are doing great.

  1. Using a UI Policy:

    • Navigate to the relevant RITM form in ServiceNow.
    • Go to the "UI Policies" section under the "Related Links" menu.
    • Create a new UI Policy and set the condition to show the "Order" field.
    • Save the UI Policy and test it by opening an RITM ticket.
  2. Using a Client Script:

    • Navigate to the relevant RITM form in ServiceNow.
    • Go to the "Client Scripts" section under the "Related Links" menu.
    • Create a new Client Script and set the script type as "OnLoad" or "OnChange" depending on your requirements.
g_form.setDisplay('order_field', true); // Replace 'order_field' with the actual field name

Was this answer helpful?


Please consider marking it correct or helpful.


Your feedback helps us improve!


Thank you!


Regards,


Amit Gujrathi



u362drob
Kilo Contributor

Hello,

Thanks for the response. It seems I do not have access to the "Related links". I will bring your suggestion to our sys admin.