Camunda REST Service

667 views
Skip to first unread message

Anant Alok

unread,
Feb 29, 2016, 7:30:11 PM2/29/16
to camunda BPM users
Hi All,

I had a quick question on the using the http-connector for making rest calls.

I have gone through the documentation and see that we have the connectors (http-connector) extension which can be used to make outgoing rest calls for service tasks. I also saw in one of the other threads that we can access the response status code as ${statusCode} in outputParameters but dont seem to find the documentation related to this.

I need to use the variables used to start a process to use in the http call (params or part of the url). Can someone point me to the right place where how to do this is documented (access variables, response body, code etc)?

Also, in our process when we want to call a service task (http post) with the body contents from the bpm start inputs. Am I correct in understanding that I need to define a variable, say payload, where the body content can be passed to the process instance?

Thanks for your help in advance.

Regards,
Anant

anan...@gmail.com

unread,
Mar 6, 2016, 9:41:04 PM3/6/16
to camunda BPM users, anan...@gmail.com

Hi Guys,

Apologies if this is a basic question: I am new to Camunda. Can someone please point me in the right direction here.

Thanks,
Anant

Philipp Ossler

unread,
Mar 7, 2016, 2:53:24 AM3/7/16
to camunda BPM users
Hi Anant,

please see the example [1]. It shows how to use the connector.

Also, you can find some documentation in your user guide [2]. If this doesn't help, you can find the source code on github [3]. 

In order to use a variable as a path parameter, you can use a script as input parameter to build the URL [4].

Did you have additional questions?

Greetings,
Philipp

Reply all
Reply to author
Forward
0 new messages