Refer to the exhibit. The Default scope in the Choice router recursively calls the color flow.
A web client sends a PUT request to the HTTP Listener with payload “Blue”.
What response is returned to the web client?
Refer to the exhibit. The Default scope in the Choice router recursively calls the color flow.
A web client sends a PUT request to the HTTP Listener with payload “Blue”.
What response is returned to the web client?
When a web client sends a PUT request with the payload “Blue”, the flow follows these steps: First, the payload is set to “Blue”. Next, the Choice router evaluates the payload and goes to the Default scope since there are no branches for “Blue”. In the Default scope, the payload is changed to “Red” and the flow is recursively called. With the new payload “Red”, the Choice router matches the top branch, changing the payload to “Bik”. Therefore, the response returned to the web client is 'Bik'.
C is correct - Payload is accessible to childflow (even if recursive), final choice sets payload to red which then sends it through top branch on second iteration.
are you 100% sure
But this contains listener as a source. I think it will throw error.
"C" is correct. I just recreated the scenario on Studio . At first, it went to the "Default" part of the choice . Then, on the "auto call" , it entered to the "payload contains Red" choice and payload "Blk" was the final response .
B is correct
If the set payload defaulted to Blue is removed then only C , otherwise it will be in loop resulting in B
I don't know why people vote B but the correct answer is C. "BIK"
It's C
The correct answer is C. “Bik” Here is the explanation: 1. Client send "Blue" payload 2. Choice router matches the default route because we don't have a "Blue" case 3. Inside the default case we set the payload to "Red" and trigger the choice again with that payload 4. Now we have a "Red" case and inside we change the payload to "Blk" color.
Exactly this. A timeout error would only occur when the flow turns into an infinite loop. But there is no loop here.
As per the image, a Set Payload defaulted to Blue is placed before the Choice router. That will call the default router path everytime.
I Agree with AntarJalil. C is correct.
C is correct.
C is correct, verified in studio as well. It doesn't throw any timeout error.
B- is the correct