I would like to pass a list of warehouses in workflow to request body. I have created a list of warehouses in ion configuration codes. What should I do next in worflow ? (Warehouses 01, 02, 15)
You would then need to add a Workflow Parameter of type 'Code' and input. You would then be able to select your Code Names and potential Code detail, if you select Use Initial Value if Null.
Brandon, that is what I did but something must be missing. Do I need to add one parameter per warehouse ?
That depends on what you are trying to do. It sounds like you are trying to concatenate a list of warehouses? you would have the input code parameters and then concat them to another parameter using expression.
wow ok thks Brandon
When you say "request body", are you trying to send a POST request with an actual 'body' of parameters/records?
Rene I am trying to send a post "key2: "$value(whse)", I have whse 01 whse 02 Whse 03....
Not knowing what you're trying to execute (what API?), here's an example of a POST for a IDM (POST API) update in a Workflow.
If you like to send "Multiple Warehouses" to the API, you can create a Loop to read through a list of these, assuming you sent them the Workflow like a String of Delimited parameters for instance.
Maybe there's a 'Bulk API' available you can use to send them all at once, but, it all depends on exactly what you're trying to do.
thks Rene I will try this