This would be a difficult BPM to try as your first. But if you are adventurous…
Show Message 0 is just to show the values of various fields in the query the dashboard executes
Condition 0 checks for the two field names in the qry expression
(replace “InvcHead_InvoiceNum” and “InvcHead_InvoiceDate” with your field names)
Show Message 1 Alerts the user that the required fields weren’t provided.
Set Field 0 sets the qry so that no data is returned.
The expression I set it to is:
"(InvcHead_InvoiceNum <= N'0') AND (InvcHead_InvoiceDate <= N'1966-11-24T00:00:00')"
That’s a set of values that are guaranteed to not return any data.
If you don’t do the “Set Field” block, it would just return the data (using just the one param) to the dashboard
That would run for every BAQ that is executed (dashboards, reports searches, etc…)
So you’d need to put another condition to check for the source that executed this.