I have an analytic app with two date filters that is used as part of a data load. The code works fine locally and has logic to run for current month when no dates are passed in. There is just a start date and end date filter in the calling workflow, and those are then passed to batch macros by sending the variables as control parameters.
-- Local Designer - Runs fine when using "Run"
-- Local Designer - Runs fine with the "Run as Analytic App" picking NO dates.
-- Local Designer - Runs fine with the "Run as Analytic App" picking non-defaulted dates.
-- Gallery - Runs fine when you run it from the gallery manually and use default dates of current_date().
-- Gallery - Runs fine when you run from the gallery manually and pick different non-defaulted dates.
-- Scheduler - Will NOT run as there seems to be no variable substitution and all of a sudden the defaulted dates are set to the first day of the next month.
Current_date = 3/17/2022
Scheduler Default Dates = 4/1/2022 (WHY?)