Home How to split the Rest API response fields into KIE Workbench runtime variables
Reply: 0

How to split the Rest API response fields into KIE Workbench runtime variables

user825
1#
user825 Published in April 23, 2018, 9:24 am

Im using KIE Workbench-6.5.0 and KIE server-6.5.0

here im created the Repository and Project. In Business process section i create the new bpmn flow with Rest Service Node. In this Rest service node in added the Rest API URL, Method, Content & Content Type. And store the API response in another KIE Wb variable as Object. Im getting the API response below like this and stored into KIE-wb variable "bpmResponse".

{
    "user":{
        "userName":"visnu",
        "age":"26",
    },
    "address":{
        "address":"Anna Nagar",
        "city":"Chennai",
        "state":"TN"
    }
}

Here i want to store the "user" object to kie-wb variable "userObj" and "address" object o kie-wb variable "addressObj".

How can i do this.

Thanks in advance.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.356349 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO