Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
HI all,
I am trying to set up a schedule so that my app reloads on the second thursday of my fiscal period, which does not line up with the caledar month. My current idea is to schedule the app to reload every Thursday create an if statement in the data load editor that looks kind of like this:
Hi there,
This is a bit tricky... You can exit script execution with "Exit Script" but that would leave your dataset empty. IF you force an error, as you said, you'd get a failure that you wouldn't be able to tell apart from a true failure.
Considering all alternatives, I'd probably build a process that involves 2 Apps and 2 Tasks:
1. The first App and Task only checks the calendar settings and makes a decision whether or not the reload is needed. If it's not needed, a failure is forced, to ensure that the tasks doesn't end successfully.
2. The second App and Task performs the actual reload, and the task is conditioned on a successful completion of the first task.
The benefit here is that the failure of the first task is inconsequential - nothing important is happening there. The second app if when it matters. That task will not fail, unless a true failure occurs.
Cheers,
Hi there,
This is a bit tricky... You can exit script execution with "Exit Script" but that would leave your dataset empty. IF you force an error, as you said, you'd get a failure that you wouldn't be able to tell apart from a true failure.
Considering all alternatives, I'd probably build a process that involves 2 Apps and 2 Tasks:
1. The first App and Task only checks the calendar settings and makes a decision whether or not the reload is needed. If it's not needed, a failure is forced, to ensure that the tasks doesn't end successfully.
2. The second App and Task performs the actual reload, and the task is conditioned on a successful completion of the first task.
The benefit here is that the failure of the first task is inconsequential - nothing important is happening there. The second app if when it matters. That task will not fail, unless a true failure occurs.
Cheers,
That's not a bad idea. I will likely have several apps in the coming months that can just operate off of that first app.