Using process variables as query parameters in rest connector

I am following this. It talks about configuring a rest connector in workflow definition.

But it hardcodes query parameters. What I need is to use process variables as query parameters. Is it possible?

Ok, I think following would do:

= {"sensorId": sensorId, "timeStamp": timeStamp}

where sensorId, timeStamp are process variables. Seems pretty straightforward to me.

1 Like

Exactly right, you use existing variables to popule the query parameters of the connector.

1 Like

Hi @Niall , a query here.

Query parameters are mapped to path params or query params of rest endpoint?

Any questions you might have about how the rest connector is implemetented can be verified by checking out the code here on github

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.