I'm using the CLI to test deploy (--dryrun) a sche...
# sdf
m
I'm using the CLI to test deploy (--dryrun) a scheduled script and receiving "This event recurrence is invalid because its end-by date is before its start date". I used WebStorm to import this script from and sandbox environment and I'm performing the dryrun deployment to the same environment and receiving this message. This was a straight import from the sandbox and try to deploy to the sandbox with no modifications. Anyone know what would be causing this message? The
scriptdeployment
section of my XML file looks like this:
Copy code
<scriptdeployment scriptid="customdeploy4">
      <custscript_coupa_int_email_recipients>test2@test2.com, <mailto:test@test.com|test@test.com></custscript_coupa_int_email_recipients>
      <isdeployed>T</isdeployed>
      <loglevel>DEBUG</loglevel>
      <status>SCHEDULED</status>
      <title>Coupa - Manage Integration Reminders - 3a, 9a, 3p, 9p</title>
      <recurrence>
        <daily>
          <everyxdays>1</everyxdays>
          <repeat>PT6H</repeat>
          <startdate>2022-04-25</startdate>
          <starttime>07:00:00Z</starttime>
        </daily>
      </recurrence>
    </scriptdeployment>
s
try adding empty child enddate under the daily tag
<enddate></enddate>