Microsoft OneDrive Spoke to create records in ServiceNow

SNDeveloper
Tera Expert

Hi, 

Has anyone worked on create a record in ServiceNow using MS OneDrive Spoke. I'm trying to find some documentation or flow designer process on how to read a file from OneDrive and create a record in SerivceNow. 

 

Thank you.

1 ACCEPTED SOLUTION

Hello @SNDeveloper

 

unfortunately, I dont have the plugin installed on my PDI so I can not show you (currently installing it in the background). 
In theory you should be able to copy this provided Subflow and adjust it to your requirements. In the copied subflow you can then create a new record using the "create record" action which you add as a step and then attach the attachment to this specific record with the "copy attachment" action. 


I hope this helped. If yes, I would appreciate if you could mark this answer as "correct solution". Thank you!
Greetings, 
Sören

View solution in original post

4 REPLIES 4

Soeren Maucher
Mega Sage

Hello @SNDeveloper

yes there is a very good ServiceNow spoke for that, which you can access with an Integration Hub subscription. 
It already provides default Subflows that you can copy and customize. For your mentioned requirement, there is the "Download New OneDrive File to Servicenow" Subflow that you can use. 

As a starting point I can recommend the following official ServiceNow documentation: https://docs.servicenow.com/bundle/utah-integrate-applications/page/administer/integrationhub-store-...

 I hope this helped. If yes, I would appreciate if you could mark this answer as "correct solution". Thank you!
Greetings, 
Sören

Hi Soeren - This is exactly where I'm confused. The scenario I'm trying is to download file (which this sub-flow allows me to do), but after downloading I want to create a "New Record in ServiceNow", not just attach this file to an existing record.  

Hello @SNDeveloper

 

unfortunately, I dont have the plugin installed on my PDI so I can not show you (currently installing it in the background). 
In theory you should be able to copy this provided Subflow and adjust it to your requirements. In the copied subflow you can then create a new record using the "create record" action which you add as a step and then attach the attachment to this specific record with the "copy attachment" action. 


I hope this helped. If yes, I would appreciate if you could mark this answer as "correct solution". Thank you!
Greetings, 
Sören

Thank you Soeren. I was testing this exactly process, but I needed confirmation from someone who is more familiar.