• Resolved hamlet237

    (@hamlet237)


    Hi there!
    Thankyou for your awesome usefull plugin.

    The plugin correctly fulfills the synchronization of objects in a test installation.

    The problem comes when it connects with SalesForce in production enviroment. In the synchronization proccess there is always an element in the queue of the Pull from Salesforce section (Scheduling Tab).

    In the database the plugin constantly creates an entry in the table POSTS with the post_type: ‘scheduled-action’ and post_status: ‘pending’.

    When one minute passes (the time scheduled for the update) creates a new entry post_type: ‘scheduled-action’, post_status: ‘pending’ and passes the previous one to post_status:’ publish ‘.

    Every minute a new entry is generated in the POSTS table and it does not just download the information and clean the queue.

    If I press the button on the administration panel
    Clear this queue
    A confirmation message appears
    You have cleared the salesforce_pull schedule

    But the message ‘This queue has 1 item‘ continues in the Scheduled tab and the cyclic behavior in the database.

    Thanks in advance!!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Jonathan Stegall

    (@jonathanstegall)

    I think you are seeing an issue with the recent switch we made to the Action Scheduler library for handling queued tasks. Previously it was much easier to see exactly how many records were pending, but with this library it appears to see the schedule itself as a pending item.

    I don’t think this is a problem from a back-end standpoint, but it is indeed odd from a usability standpoint. I hope to spend some more time figuring out how we can count actions better in this plugin as that library evolves. But as far as I can tell it shouldn’t cause you any data issues.

Viewing 1 replies (of 1 total)
  • The topic ‘Pull from Salesforce queue always has 1 item left’ is closed to new replies.