sys_impex_entry script field, how to use it?

ldave
Giga Guru

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

 

7 REPLIES 7

Bhawana Upreti
Tera Guru

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!

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.

ServiceNow's forums has a lot of low quality, lazy answers such as this. Why reply when you don't have the answer?

Jaskaran Walia
Kilo Guru

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