QuestionQ3

VerifiedManage event flow, handle errors, and process batch records

Refer to the exhibits.

The updateTemp and getTemp flows use the same default object store. A web client sends one GET request to the test flow’s HTTP Listener, causing the test flow to call the updateTemp flow. After the test flow returns its response, the web client sends a separate GET request to the getTemp flow’s HTTP Listener. The test flow is not invoked a second time.

Which response is returned by the request to the getTemp flow’s HTTP Listener?

Question Image

Question Image

Question Image

Explanation

A For Each scope processes the collection sequentially. Every call stores its current payload using the identical temp key in the shared default object store. Object Store Store defaults failIfPresent to false, so an existing value for that key is overwritten; the final stored value is 85. Retrieve makes that stored value the payload, and the subsequent JSON transformation returns {"temp":"85"}.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!