Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

I want to create a filter that retrieves last month's incidents

Summary:

Content (required):
I want that for example when I am in the current month, it shows me the previous month, because I want to schedule the report and I want it to be sent every month and that it is sent for example November 1, it sends all the incidents from October 1 to October 31.

I have expression but it throws an error.

"incidents.created BETWEEN date_format(add_months(sysdate, -1), 'YYYY-MM-DD')
AND date_format(sysdate, 'YYYY-MM-DD')"
Version (include the version you are using, if applicable):

Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!