Configure function field- Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2023 05:48 PM
Hi All,
Is there any way to include script to Configure function field of Report?
Thnks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2023 10:37 PM
Hi @Jai2021 ,
The Configure function field does not support executing arbitrary scripts or custom code. It is intended for configuring the report's functionality using the provided options and built-in functions.
If you need to perform complex calculations or include custom logic in your reports, you can consider creating a script include like mentioned in below KB article:
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0832058
If my response was helpful in resolving the issue, please consider accepting it as a solution by clicking on the ✅Accept solution button and giving it a thumbs up 👍. This will benefit others who may have a similar question in the future.
Thank you!
Ratnakar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2023 10:30 PM
I couldn't add script for duration field. Could you please suggest me for this