Hi all, my unhaunting story for the Haunted Tales Around The Bonfire challenge is about a Canvas that was doing something odd, that wasn't obvious why.
Users were landing in the wrong branch, although the decision logic looked correct on paper. The trouble was that the values driving those decisions were calculated mid-journey, so it was difficult to inspect the output.
The fix was to use context variables as a debugging aid. I added a Context step early in the Canvas to capture the key values the logic depended on. Then I surfaced empty, malformed and unexpected context variables in audience paths.
Within a few tests the culprit was found.
Context variables are usually pitched as a way to keep Canvas logic tidy and reusable, but they are just as good for visibility in unexpected canvas journeys.