Any way to upload files from MID Server to Amazon S3 without S3 spoke?

Aki18
Tera Contributor

We have some files in a folder in MID Server. The files are sent from ServiceNow regularly.

What we would like to do is to upload the files to Amazon S3 triggered by Flow Designer. Is there any way to achieve this?
*We understand that ServiceNow offers "Amazon S3 Spoke", but it's not an option for us since it needs IntegrationHub Enterprise subscription which we don't have.

Best Regards,

Aki

7 REPLIES 7

Aki18
Tera Contributor

Hi @Amit Verma ,

The reference article assumes that the trigger is Business Rule, but I can take the same approach in Flow Designer, right?

Can we set the same JavaScript as the article to Script step in Flow Designer Action?

@Aki18 

 

Yes. Whatever code you have inside the Business Rule function, you can use as it is. Remember to exclude the Business Rule function though and change the param variables of the PowerShell script as per your flow designer input variables.

(function executeRule(current, previous /*null when async*/ ) {}

 


Please mark this response as correct and helpful if it assisted you with your question.

Aki18
Tera Contributor

Hi @Amit Verma ,

Thank you for your reply. We will give it a try following your advice.