- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2022 01:58 PM
I need to create a .jil file in a script. The file needs to contain several static values, as well as dynamic values that come from variables on a catalog item. Once created, I need to attach the file to an email to send to a fulfilment group. How can I accomplish this in ServiceNow? Is it possible?
The file needs to be in this simple format...
field: value
field: value
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-13-2022 06:20 AM
Hi,
Ok.
Please refer to this documentation on how to accomplish that: https://developer.servicenow.com/dev.do#!/reference/api/rome/server/no-namespace/c_GlideSysAttachmen...
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2022 05:52 PM
Hello,
Please clarify your question as you mention .jil and then say .txt.
Is it a .txt file?
Please mark reply as Helpful, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2022 07:37 PM
Hi Allen, it is a .jil file that has been requested, but from what I understand a .jil is essentially the same as .txt. I think that either would be acceptable and the recipient of the file could just change the extension from .txt to .jil if it is not an option in ServiceNow.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-13-2022 06:20 AM
Hi,
Ok.
Please refer to this documentation on how to accomplish that: https://developer.servicenow.com/dev.do#!/reference/api/rome/server/no-namespace/c_GlideSysAttachmen...
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!