You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried to use the following text formula field for the current step value: If( ISBLANK(TEXT({!recordId.Contract_Status__c})), "Not Started", TEXT({!recordId.Contract_Status__c}) )
When I ran the flow, I received the following error:
Conditional visibility rule error on currentContractStatusFormula field: Field recordId.Contract_Status__c is a picklist field. Picklist fields are only supported in certain functions. Tell me more.
I've verified the output of the formula is the string I need for the current step.
The text was updated successfully, but these errors were encountered:
Hi @jameskbw - interesting, thanks for posting. Your formula seems like proper syntax, but maybe it's not the formula. The error message seems to be about using the formula in a conditional visibility rule for showing/hiding a component on the screen. Are you using it in that way? I ask because the error message doesn't seems related to the functioning of the LWC itself.
I am using a visibility filter on the dynamic flow progress component, but that is not the issue as it's not related to the formula field and it works fine once I change the current step to something other than the formula. The only time I get an error is when I use the formula field in the current step input.
I changed it to a text variable, and that works fine but is less ideal.
Tried to use the following text formula field for the current step value:
If( ISBLANK(TEXT({!recordId.Contract_Status__c})), "Not Started", TEXT({!recordId.Contract_Status__c}) )
When I ran the flow, I received the following error:
Conditional visibility rule error on currentContractStatusFormula field: Field recordId.Contract_Status__c is a picklist field. Picklist fields are only supported in certain functions. Tell me more.
I've verified the output of the formula is the string I need for the current step.
The text was updated successfully, but these errors were encountered: