Is it possible to execute the export process with a script?

__17
Tera Expert

I want to export only the records that match the conditions in the business rule to a CSV file.

I can filter the records without any problems, but I'm looking for a way to export them.

Will you use the export set feature?

I would like to execute the export process from the script at any time instead of the scheduled export.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you can generate csv file based on filter condition and attach to record

check this link

Generate CSV file through script

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you can generate csv file based on filter condition and attach to record

check this link

Generate CSV file through script

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Tudor
Tera Guru

Hi,

This article might help - https://community.servicenow.com/community?id=community_article&sys_id=e5ad70d61b1d4490d01143f6fe4bcb21

Regards,

 Tudor