I need help to Autopopulate a field. Also, I need help on Date validation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2024 07:40 AM - edited 10-10-2024 07:47 AM
1. Auto-Populate Description Field: Please I need help on the following requirements.
Whenever we make changes to the Requester field, we want to auto-populate the description field with Requester's information. (e.g Requester email, Requester number, Requester department)
2. Date Validation on MASCOTH Table: WE want to make sure that the ‘Date’ field on the ‘MASCOTH’ table does not accept past dates (today’s date is allowed, but past dates are not allowed). That's, only allow record update if the ‘Date’ is a future date.
3. Create a Boolean Field: We want to create a Boolean type field called "INQUIRE on the ‘MASCOTH’ table.
Thank you all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2024 11:07 PM
Hello @ID NOBLE,
"1. Auto-Populate Description Field: Please I need help on the following requirements.
Whenever we make changes to the Requester field, we want to auto-populate the description field with Requester's information. (e.g Requester email, Requester number, Requester department)"
-->> You can do this by writing an on change client script on the requester field and a script include as follows:
on change client script on Requestor field :
------>>refer this acticle https://www.servicenow.com/community/developer-articles/no-code-date-validations-through-catalog-ui-...
3. Create a Boolean Field: We want to create a Boolean type field called "INQUIRE on the ‘MASCOTH’ table.
--->>> You can use a "YES/NO" field type for this purpose
Please mark the answer correct if it helped in fulfilling your requirements.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2024 01:13 AM - edited 10-14-2024 01:15 AM
@ID NOBLE If this is on Catalog item than I have used the Single line text variable type and auto Populated the value based on the Requested for field.
Added all this details via flow to my RITM and SCTASK description and also added in Email