sys_impex_entry script field, how to use it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2018 02:05 AM
We would like to create a custom calendar integration where one of the two date (dtstart in particular) is calculated based on dtend.
We would like to avoid using a custom field and a business rule, since we already have a mapping going on, it seems that it would be much more logical editing the mapping.
calendar integration relies on sys_impex_map and relative sys_impex_entry, the latter appear to have a script field in the table that is displayable manually on the form, but I can't find any way to use it... the idea would be to return the value we want using it.
Is there anyone that knows this?
Thanks
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2018 02:18 AM
Hello,
The given link might help you out.
There is also OOB mail notification in which you can have a look
URL: https://instancename.service-now.com/sysevent_email_action.do?sys_id=3d41617cc611228101acc826968d5fa6
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2018 05:18 AM
Hi Bahwana, thanks, unfortunately that doesn't go far from the oob solution, which takes two dates and converts them to dtstart / dtend via direct association to the date fields in the sys_impex_map.
What I would want is not to associate one of the two dates on a field, but use the available script form to make a calculated date field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2022 04:44 PM
ServiceNow's forums has a lot of low quality, lazy answers such as this. Why reply when you don't have the answer?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2019 11:37 AM
Hi Mate,
Did you figure out the usage of Script field? I am on the same boat as you were a year ago and trying to achieve dynamic assignment of value to dtstart and dtend via script