Support Article

Cannot pass parameters to When rule



The visible When condition using a parameterized When rule does not show the parameters in the dialog.

Error Messages

Not Applicable.

Steps to Reproduce

  1. Make a When rule that use parameters.
  2. Add parameters in the parameters page of the When rule and Save.
  3. Try to use the When rule on a visibility of a UI. No parameter fields will appear to fill them.

Root Cause

When rules do not have context sensitive parameter configuration (when the parameters appear automatically when it is configured in the UI).  Instead you need to set the parameter values in advance through a data transform. 

This is mentioned in the following help topic:
Complete this optional tab to refer to parameters (using the syntax as inputs on the Advanced tab.

If used as a source of values, the parameter values must be set (for example, using a data transform) before the when condition runs.


Use a "Before this action" Data Transform or Activity on the flow action to set parameter values using the param.paramname syntax.


Suggest Edit

Published July 4, 2016 - Updated October 8, 2020

40% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.