blankValue

blankValue() function is the Standard function available in 200OK.

Description : The blankValue function checks if an expression is blank and returns a substitute expression if it is. If the expression is not blank, it returns the original expression value.

Syntax : fx_blankValue(expression, substitute_expression)

Example : fx_blankValue( ,Ceptes) will return "Ceptes" if the expression is blank.

Here we go with simple scenario using the above function.

Scenario : In a customer feedback system, a support agent is reviewing customer messages submitted through a contact form. They utilize a function to ensure that all messages are captured accurately. If a customer leaves the message field blank, the agent substitutes it with a placeholder text to maintain completeness in the feedback record.

Request Side :

Response Side :

Last updated