Skip to content

cursor broken in 2 cron workflows #26

@aleksa-krolls

Description

@aleksa-krolls

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...

  1. ....

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions