Send null JSON/XML inputs to REST flow
Comments
-
Working on a flow to be accessed via an HTTP POST call using JSON.
When I call the flow, I get a message back saying that the "input parameter is missing".
Id like to be able to pass in a null value for a couple of the strings, so that these inputs are essentially optional.
[i]edited by Sissafriss on 7/24/2019[/i] -
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]You can set an input to allow null by doing the following:[/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]
[/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]1. Edit your flow[/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]2. Select the green Start Step[/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]3. Edit the input data to your flow.[/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]4. Select a specific input and set it to Can be Null[img]att1[/img][/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]
[/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]This should allow those inputs to be optional.[/font][/color]