I have a computed field which is used to control the visibility of a heading on an item. When I edit the item and select OK, the computed field should be updated and the heading either shown or hidden depending on the change. However, the computed field is not updated and the heading remains unchanged until the Item is refreshed. The computed field is defined as a Dynamic that is Never stored to History. I tried using the computeHistoryNow(fieldname) in the trigger, but that had no impact.
Does anyone have a suggestion to try?
Sounds like a known defect;
It works without any relevance rule on the field, but the relevance rule seems to affect it, even though it should not.
I'm not aware of a work-around. You should open a Support case to make sure you're associated with the defect (and they can confirm if there is any workaround - but I don't suspect there is).
have you tried setting the computation to "static delta".
Using this setting the field should be computed each time the item is edited.