Describe the bug and expected behavior
The lastRunTime is not being set properly at the end of the job, so every time the cron workflow runs, it is returning the manualCursor value as a the cursor date, instead of the lastRunTime.
Steps to Reproduce
I think we're setting the cursor okay at the beginning, but I think at the lastRunTime is not being passed on in the final state of the job.
- See run 1 (which shows manualCursor `` applied in the SF query filter):
- See run 2 (which ran 2 min later, but has the same manualCursor date value):
To replicate...
- ....
Workflow
WF1: Upsert Members
WF2: Remove Deleted Campaign Members
Input & Testing Guidance
- Credentials: What system(s) can we use for troubleshooting? Will we need to log into prod, or should we replicate this in a sandbox/test environment?
- Are there specific test record(s) we should look at or use to retry the workflow?
Any other notes?
Any other comments, considerations, or documentation?
Toggl
Name of the Toggl project to log work
Describe the bug and expected behavior
The
lastRunTimeis not being set properly at the end of the job, so every time the cron workflow runs, it is returning themanualCursorvalue as a the cursor date, instead of thelastRunTime.Steps to Reproduce
I think we're setting the cursor okay at the beginning, but I think at the
lastRunTimeis not being passed on in the final state of the job.To replicate...
Workflow
WF1: Upsert Members
WF2: Remove Deleted Campaign Members
Input & Testing Guidance
Any other notes?
Any other comments, considerations, or documentation?
Toggl
Name of the Toggl project to log work