I want to use a REST DataSource to get customer information (ie name) via customer number. I have a form with a customer number field. I have a REST DataSource "REST GET CUSTOMER DATA" (..../getKundenData?customernumber=CUSTOMERNUMBER.Standard) which returns a json with all relevant customer data.
I used a business rule to get the value from the REST datasource and a form rule (on value change) to set the customer name (returned from the businessrule).
This is working fine.
The problem is the mapping customernumber=CUSTOMERNUMBER.Standard (MyApp.MyProcess.MyForm.....) in the REST data source. Because of that I can use this REST DataSource only in the context of ONE workflow/form.
Is there a way to pass a value to a REST datasource? Like .../getKundenData?customernumber=variable?
Or are there better ways?
Thanks
Ernst