rule condition without value | Community
Skip to main content
floriane3493069
Level 2
July 2, 2018
Solved

rule condition without value

  • July 2, 2018
  • 2 replies
  • 3073 views

Hi there,

I want to add a condition to my page load rule. If a certain parameter (e.g. xyz) exists I want a tag to be loaded on the page. Unfortunately it seem that I have to choose a value for the parameter. Can you tell me if it is also possible to execute the rule without having a parameter value?

Thank you for your help.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Muralidharan_Ve

Hi Floriane,

I suppose there is no OOB option to check if a parameter "exists".

As a workaround you can use a regex (.*) as the parameter value so that the condition passes for any value of the parameter.

Hope this helps.

Regards,

Muralidharan

2 replies

Muralidharan_Ve
Muralidharan_VeAccepted solution
Level 2
July 2, 2018

Hi Floriane,

I suppose there is no OOB option to check if a parameter "exists".

As a workaround you can use a regex (.*) as the parameter value so that the condition passes for any value of the parameter.

Hope this helps.

Regards,

Muralidharan

floriane3493069
Level 2
July 3, 2018

It seems to work. Thank you very much Muralidharan.