Problem Running 11.8 - No 'Stinkin' Badges! (Mel Brooks for the younger ones)

I recently upgraded from 11.7 and created a new project, which I successfully linked to Claude. Pretty amazing. In the course of things, I have run across a prototype problem. I have three prototypes, and the first two work fine. My third one, pActionItem, has some custom attributes, nothing fancy. But I can’t set a Badge; it disappears after a few seconds, even with no action code running. Also, the rule I put in didn’t work; see below. Tried deleting the prototype and recreating it; no change.

$Badge=if($ActionStatus==“Pending”,“label red”,if($ActionStatus==“In Progress”,“label yellow”,if($ActionStatus==“Done”,“label green”,“label red”)))

The project is currently small, tracking individuals for my writing, and there’s nothing confidential, so if anyone feels looking at the file would help, let me know and I’ll send it to you.

Thanks! Bruce

Syntax! You want

$Badge="label red";
if($ActionStatus=="Pending") {$Badge="label red";};
if($ActionStatus=="In Progress") {$Badge="label yellow";};
if($ActionStatus=="Done") {$Badge="label green";};

This assumes that you really want $Badge to be “label red” if $ActionStatus is not Pending, In Progress, or Done.