Error Starting K2 Workflow when SP Rest API used to create item


Hello,

 

I'm currently trying to troubleshoot something very odd. At our university, we use SAML authentication and so I recently had to go through that whole process to get a bearer token because I wanted to use the web service add-on provided in Qualtrics so that when someone submits a survey, the repsonse answers and posted to a list on Sharepoint and then a K2 workflow would start up.

 

I have the workflow setup to start when a new item is created in the list and yet when I post an item via the REST api, a workflow instance does not start. I've gotten around this as of right now by having Qualtrics post to another list and then I setup a Sharepoint flow that will copy those item details and create a new item in the designated list and THAT starts the k2 workflow. 

 

Any advice would be greatly  appreciated! 


2 replies

Badge +9

Hi Pauchamb,


 


Does the workflow start when adding a new item in SharePoint manually? Bypassing the Qualtrics post?


 


-Jean

Hey Jean,

Yes it does!

Reply