a!localVariables( local!Details: rule!GetInformation(), a!formLayout( ....... showwhen:if(local!Details <> "ERROR") ) )
Hi,
I want to show the formLayout in the design mode(designer/expression) irrespective of the return value of rule!GetInformation() expression rule. However in runtime the form should load as mentioned in above code i.e., based on the return value of rule!GetInformation() .
Kindly suggest.
Discussion posts and replies are publicly visible
Sameer Ul Haq
You can differentiate the design time and the run time using groups in Appian. If anyone, in the developers/administrators group tries to access this, it will load normally, but if anyone from the business groups (all users, etc.) tries to load it, then the condition is validated.
You can also create a dedicated "debug" group for this type of requirement have a DEBUG environment constant that you enable on a per environment basis.
Alternatively you could always use the application's admin group which usually includes Designers.