The CreatorCon Call for Content is officially open! Get started here.

I want to run an executable file shared at any location and retrieve the data from that executable.

himani14
Kilo Explorer

I have an executable file at any location or at MID server location. I want to run that file using servicenow and want to retrieve the complete data from that particular executable into servicenow . Can anybody help in this.

Thanks

Himani Goyal

 

1 ACCEPTED SOLUTION

Hi Himani,

Here is an example on how to execute a command on mid server via ecc queue.

1) go to left navigation and type ecc queu

2) create a new record with Queue as output, Topic=Command, Agent=mid.server.<nameOfMidServer>,

Name = ping gmail.com

3) submit the record

4) you will receive an input for this with the ping results

Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

View solution in original post

11 REPLIES 11

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Himani,

You can send a command via ecc queue to the mid server and the executable will execute on the mid server.

What data you are referring to?

Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

Hi Ankur

Thankyou for the response. 

Please tell me the command to execute the executable file using ecc queue. Is there any need of "Run book powershell" plugin or this will be executed directly.

In executable , the data is in excel format which i have to retrieve in servicenow instance.

 

Thanks

Himani Goyal

 

 

 

Hi Himani,

Are you saying that there is an excel file on the mid server location and you want to bring the file to servicenow and load the data present in the file and create/update target table.

Will the executable file bring the excel from some 3rd party tool via an API call etc.

Regards

Ankur

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

Ankur

I am saying that there will be an executable file in the MID server location and when we double click on the executable file , an excel file will be created to a specific location in that system . We have to retrieve the data from that particular file created by the executable .

So ,i want to run the executable file using servicenow and the excel file which is being created by the executable file , we have to access that one.

Thanks

Himani Goyal