Skip to main content
Nintex Community Menu Bar
Question

Page include with null parameter

  • July 9, 2024
  • 3 replies
  • 20 views

Forum|alt.badge.img+18

I have a page that may or may not receive a url parameter, let’s call it patientid. If it does not, the condition is deactivated and the page shows lots of patients, instead of 1.

Now, I have a page include within the page that I would like to pass the patientid to, and have it work similarly. But in the case where the parent page doesn’t get the parameter, the page include is returning 0 patients, instead of lots of patients. I image that it’s looking for patientid=null and not finding anything.

Is there a way to accomplish this?

I basically need to pass the params of the parent page to the include directly, and have it process them the same way.

3 replies

annajosephine
Nintex Employee
Forum|alt.badge.img+18

Hi Matt! Have you tried, in the condition in your page include that reads the URL Parameter, specifying that if this parameter isn’t found deactivate this condition?


Forum|alt.badge.img+18
  • Author
  • July 9, 2024

Yes. That is the setting.

I suspect the problem is that the page include IS getting a parameter that looks something like this: “”


Forum|alt.badge.img+18
  • Author
  • July 9, 2024

My parent page is processing id={{$Params.patientid}}, and giving that to the page include. When the parent page isn’t given a patientid parameter, it seems to be giving the page include a null value instead of deactivating the condition.