Populate "schedule date range selector"

divyasurada
Tera Contributor

Hi,

I would like to populate "schedule date range selector" field on Schedule Entry table, which is a formatter.

In service catalog, user provides a start date/time and end date/time. I have to populate this data in schedule entry table.

Any help related to scripting will be very helpful.

Thanks in advance!

find_real_file.png

4 REPLIES 4

Ct111
Giga Sage

You can do one thing

create two date time fields and in When give only the option of selecting current date/time.

and in to you can give option of selecting future dates.

 

For making the "to" field to work as per selection of "when" field you can refer below blog where it has been explained how to handle these scenarios

https://community.servicenow.com/community?id=community_question&sys_id=38c40be9dbd8dbc01dcaf3231f96...

 

But apart from this if you ask me a variable type of Date range selector I dont think it exist in system directly. 

 

Mark my ANSWER as CORRECT and HELPFUL if it works.

Aniket Sawant
Mega Expert

Hi,

 

schedule date range selector is UI formatters which is not a field so you are not able to find.

UI formatters contain xml file.

find_real_file.png

Please mark correct or helpful based on the impact.

Regards,

Aniket Sawant

kamer
Kilo Expert

Hi Divya,

May i know how you have achieved this requirement.even i have same requirement.

Kindly let me know how you have achieved?

Daniel50
Kilo Guru

Hello

If someone figured out a solution: I have the same requirement as well!

Daniel