SmartAssist: Split isn't working on a context variable

I’m running into an issue with a Split in a SmartAssist Experience Flow. It doesn’t seem to be reading my context variable correctly.

Here are the relevant steps in the flow:

Steps To Reproduce

  1. Create an Experience Flow with these steps:

    1. ScriptTask0001 (Script Task)

      context.isClaimFound = 'yes';
      
    2. MessagePrompt0001 (Message Prompt)

      The value of isClaimFound is {{context.isClaimFound}}

    3. IsClaimFound2 (Split)

    4. Three Message Prompts, each connected to one of the Split branches (not shown in screenshot)

      • Have each Message Prompt say the name of its branch (Branch 1, Branch 2, Branch 3).
  2. Press Test Flow.

Expected Behavior

  1. SmartAssist says:

    The value of isClaimFound is yes

  2. SmartAssist says:

    Branch 1

Actual Behavior

  1. SmartAssist says:

    The value of isClaimFound is yes :white_check_mark:

  2. SmartAssist says:

    Branch 3 :x:

Additional Information

Branch 3 runs regardless of what value I assign to context.isClaimFound. I can assign it yes, no it is not, or test. Branch 3 always runs.

However, MessagePrompt0001 always correctly reads the value that I assign. So the value is getting set, but the Split doesn’t seem to be seeing it.

Still stumped on this one. Any ideas as to what’s going on?

@ashish.sankhala Any ideas on this one?

@eeskildsen - This seems like a product bug. I will check and circle back.

Thanks! I talked with Mike Piotrowski Monday afternoon and he thought the same thing. He may have opened an issue for it already—not sure.

@eeskildsen Can you please use context value in the following format inside the split node. {{context.key}}

Let us know if you are still facing the issue

1 Like