OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – Programming Questions export job doesn't show up

This topic contains 4 replies, has 2 voices, and was last updated by  Marko 3 years, 3 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #34394

    Marko
    Participant

    hi guys, I’ve created new integration and setup simple import/export jobs in batch_jobs.yml.

    When oro:cron:integration:sync command is triggered I can see my import job with success but export job is not started at all. The “akeneo_batch_job_instance” table doesn’t contain any record with “export” as a value for the “type” column.

    I’ve done as per tutorial and implemented TwoWaySyncConnectorInterface in my connector and expose export job.

    It is my understading that “oro:cron:integration:sync” should execute all jobs (import and export type(s)) per integration. Any ideas what I am missing ?

    Many thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #34395

    mmiasnikov
    Participant

    Hi, @Marko!

    Could you, please, provide the content of your batch_jobs.yml file?

    #34396

    Marko
    Participant

    Hi @mmiasnikov, thanks for the reply.

    Here is my batch_jobs.yml content:

    Note#1: I am running ORO platform 2.0
    Note#2: I am able to start export job via “oro_importexport.job_executor” service in some dummy controller (for the testing purpose)

    Any ideas ?

    Many thanks.

    #34397

    mmiasnikov
    Participant

    Hi, @Marko.

    A small investigation reveals, that, indeed, oro:cron:integration:sync command doesn’t run export process at the moment. To make export performed, it is necessary, for example, to write specific Process and attach it to some trigger like an “update of some your entity” event.

    As example, take a look at the magento_customer_address_export Process (in particular, how it’s defined and used in OroMagentoBundle).

    Regards.

    #34398

    Marko
    Participant

    Hi @mmiasnkov, will go with your approach.
    Thanks again.
    Cheers

Viewing 4 replies - 1 through 4 (of 4 total)

The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.

You will be redirected to [title]. Would you like to continue?

Yes No