ssossossosso

Forums

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

This topic contains 2 replies, has 2 voices, and was last updated by  shumdok 3 weeks ago.

  • Creator
    Topic
  • #39337

    shumdok
    Participant

    Hi.

    Is there any opportunity to add “send email” notification when the import file isn’t valid? As for example, if any issues occurred in import process I will receive the email with the error message.At the same time, I wouldn’t receive any notification if file has wrong structure.
    Please advise.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #39342

    akhristiansen
    Participant

    Hello, @shumdok! As i know, orocrm does not have possibility to send such emails out from the box. This issue is complicated, because there are plenty of different classes are involved in import\export process and and any of them can occur error.I think that import errors must be logged to log file, and you can try to find error message there.

    Also, as variant, that need to be checked, you can modify code to add messages sending. For example, we have such class

    that has several methods, that are adding validation errors.

    I do not sure witch of this methods are capable of file validation, but you can try to extend this helper, and overwrite methods with updated code, that will send email to you.

    • This reply was modified 3 weeks, 2 days ago by  akhristiansen.
    #39396

    shumdok
    Participant

    Thanks for reply.

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

You must be logged in to reply to this topic.