Ok, here's a fun one.

I have a Workflow Attribute (named "SelectedOption"), field type Single-Select. The values listed are:  0^First Item,1^Second Item,2^Third Item. The Control Type is Drop Down List. Under Default Value, the list displays as you would expect, with the "text" of the values showing, not the pre-carat indentifier (0, 1, 2, etc.).

Then, in my Workflow, I have a User Entry Form action that, among other options, lets the user pick from this list. Again, as you would expect, this user entry form renders the drop-down options with the text and not the id.

Further on in the workflow, I have multiple Actions, each with a filter on them. I have on Action for each option in my original drop-down list.

So, the first Action has a filter set to: Run If: SelectedOption; Equal To; Text Value: 0

The second Action has a filter set to: Run If: SelectedOption; Equal To; Text Value: 1

...and so on.

Again, as I would expect, these Actions are correctly filtering and firing. Cool!

Now, here's where it gets a bit odd.

Still further down in the workflow, I want to change the Workflow Title attribute. So, I have a 'Set Attribute Value' Action wiht my 'Title' attribute chosen. I am tryin gto use Lava in the 'Text Value' field to set this attribute based on teh selected item from the original drop-down. My Lava looks like this:

{% case Workflow.SelectedOption %}{% when '0' %}New User, New Phone{% when '1' %}New User, Existing Phone{% else %}Other issue{% endcase %} - {{ Workflow.PhoneUser }}

The problem is that I ALWAYS get a Title set to 'Other issue'.

I have tried multiple variations of the Lava, using 'Workflow.SelectedOption.Value', removing the quotes around the number in the "when" clause, etc. Nothing has worked.

I am hoping that I am simply missing something. Anyone out there using this and getting Lava to work with this?