Http Task in flowable


#1

Hi,
I am new to flowable and I want to call an external Restful API using service task or http task, and execution should be done through another Restful API.

i.e
A Flowable process using RESTful call and this Flowable process executes another External REST API call
Any one can guide how can I do it?


#2

Hello,

Please take a look at User guide - http tasks , and if you find anything concrete unclear, feel free to ask with more details.

Kind regards,


#3

Thanks for helping …but here I also want to set a response url

i.e this task should automatically direct me to a different static page

how can I access the response url?


#4

Sagaraa,

The link inakihn provided outlines how you can configure the http task to save the result of the http request to process variables. You could then use those process variables to take further action.

Can you tell me more about your use case? Particularly, what do you mean by:

this task should automatically direct me to a different static page

Chris


#5

Flow is working properly is is accessing the API but it doesn’t rendering a view page back to my browser.


#6

Hello,

HTTP tasks are not for rendering/redirecting to new views. They are for interacting with REST services (for example, update an entity in a separate server), and then let the bpm process continue.