- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2018 02:55 AM
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
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2018 03:54 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2018 03:24 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2018 03:32 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2018 03:48 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2018 04:10 AM
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