See the documentation here: https://docs.mendix.com/refguide/xpath-keywords-and-system-variables
You can use
[%BeginOfCurrentMonth%] and use something like:
[createdDate < '[%BeginOfCurrentDay%]- 6 * [MonthLength]']
Another option (since you're in a microflow), would be to create a variable with the name of the current month. You could use this as the expression:
Then, your xpath could be:
[month = $monthVariable]
But its giving error
pls see this.
This doesn’t work in my case :
I wrote this and put in a string variable :
Worked for me, couldn't cut and paste, had to type it in or it was red errored out...thanks!