Salesforce Fact #274 | Skip null check in screen flow

Suppose we have two input text fields in the screen flow and at a time only one input can be provided. Now after the user enters the data, we generally check from which text field the data came.

But if we use a text variable and simply append the value of the two input fields, we can skip this decision element use to check the condition. Since, we would be appending the data so for the hidden field it will simply add NULL and would not make any change to the actual result.

Attached are the screenshots.











Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow