Export Set and Export Set Target
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours ago
HI All,
I am building an Export Set to pull some service now data and store in the Mid Server. I have 2 requirements and I need help in achieving those.
1. At the Export Set we have the check box to Append date and time, is there a way for use to only append date but not the time.
2. At the Export Set Target, we select the midserver and the path where we want to files. Is there a way for us to pass the file path dynamically like test20260430 or test 1 and next test 2 something like that.
This way we can store all the Exports related to that 1 day in 1 folder.
Please let me know how we can achieve these.
Thank you
Mourya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
1. you must disable that checkbox and use a script to dynamically update the file name before the export runs
Or
you can disable the checkbox and create a new date field with Calculated value.
Good article: Export Sets, the forgotten ones
2. You can run a powershell command for that.
Refer for the details: https://www.servicenow.com/community/developer-forum/export-set-how-to-put-target-path-outside-mid-s...
