How to set new value in a reference field?

Jessica28
Tera Guru

Hello,

 

We need help on how to add a new value "Barcode Number Not Listed" to a reference value in Service Request when a form is loaded.  We have attached a photo for your review.  Thank you so much for helping. 

 

1 ACCEPTED SOLUTION

Hi Jessica,

As the requester will not find the unavailable barcode number, he will understand that the barcode he is trying to find is not available in the back end, hence I think you don't need to show a special error message for this. We cant show the error message here since there is no trigger point for this.

Now to add the record in real time to the backend:

1. You can create a new record producer for adding the new record o the backend "Barcode" table.

2. Get the link of this new record producer

3. Create a new label type variable in the current service request form below "Barcode Number" field and give the message as "Click on this link if the barcode you are trying to find is not present" [The link will open in new tab]
4. Once the requester submits the record producer then give the message on the form as "Please go back to your service request and try to search the barcode again"

Please mark the answer correct if my explanation helps you. 🙂

Thanks. 🙂

View solution in original post

5 REPLIES 5

Sagar Pagar
Tera Patron

Hi,

You have to add a new reference record as "Barcode Number Not Listed" in reference table.

 

Thanks,

Sagar Pagar

The world works with ServiceNow