Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

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 1 year ago.

  • Creator
    Topic
  • #1580

    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
  • #1581

    mmiasnikov
    Moderator

    Hi, @Marko!

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

    #1582

    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.

    #1583

    mmiasnikov
    Moderator

    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.

    #1584

    Marko
    Participant

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

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

You must be logged in to reply to this topic.

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

Yes No
ssossossosso