Skip to main content
Nintex Community Menu Bar

REST StartInstance does not work

  • October 20, 2015
  • 3 replies
  • 10 views

Forum|alt.badge.img+6

Good morning,

 

I am triying to start a workflow with REST service, with this URL

 

http://localhost/K2Services/REST.svc/Process/Definitions(ProjectRest/ProcessRest)/StartNewProcessInstance

 

And the browser is retrieving the error Endpoint not found

 

Anybody know the reason?

 

Thank you

 

Juan Antonio

3 replies

Forum|alt.badge.img+6
  • Author
  • October 21, 2015

I progressed with this issue, now i have another message, using this new URL

http://localhost/K2Services/REST.svc/Process/Definitions([ProjectRest]%20[ProcessRest])/StartInstance?folio=FOLIO

<Failure xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.k2.com/framework/d1" Code="25223" ID="0">

 

<Message>Process [ProjectRest] [ProcessRest] not found</Message><Description>client-failure</Description>

 

</Failure>

 

I deployed the workflow and i created some instances. I need to do any other activity?

 

Thank you

 

Juan Antonio

 


Forum|alt.badge.img+6
  • Author
  • October 23, 2015

Changing the Web Service to invoke a workflow is solved, using WS instead of REST


Forum|alt.badge.img+1
  • April 13, 2017

This is a partial solution.

 

Right solution is to have the good url :

 

http://formflow-dev.test.cpm/k2services/REST.svc/Process/Definitions(NCQIAP_B_NC%20-%20SR)/StartInstance?folio=SR12

 

ProjectNameWorflowname . ex : NCQIAPNC - SR

 

You shoud replace in the URL   by _B_