Notifications
Announcements
No record found.
Hello,
I have a FetchXML query in Power Automate Flow. The filter criteria includes Created On "Older than X Days" with a value of 7. We were informed this value might change based on the scenario. So, we had an idea of creating Environment Variable and modifying the value in there as per the requirements. However, I am not sure how to replace the value "7" with the Environment Variable value.
Any suggestion is very much appreciated.
Thank you
Harsha
Hello Harsha,
Can you please be more specific on what issue do you experience? Like - it's not clear on how to get the Environment Variable value or how to put the value retrieved into FetchXml?
a33ik I magnified my issue in here. I simply added the environment variable in place of "7" and this worked. I was thinking in a more complicated way about the complications with the FetchXML query instead of simply updating it.
Yep. It should be as simple as.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 45 Super User 2025 Season 2
Daniyal Khaleel 27 Most Valuable Professional
Soundari 15