Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Andrew Lansdowne 43 posts 124 karma points
    Jul 17, 2019 @ 09:25
    Andrew Lansdowne
    0

    Event to handle 'reset status' event

    Hi,

    We are doing some custom notifications based on events within Translation Manager. One of these is intended to notify the translator if a returned job is sent back for further amends. The way this happens is clicking the Reset Status button and its status changes back to Submitted.

    However, this event does not seem to trigger any of the provided events e.g. Submitted and Submitting. We have tried:

    • TranslationNodeService.Created
    • TranslationJobService.Submitted
    • TranslationJobService.Approved
    • TranslationJobService.Received
    • TranslationJobService.Published
    • TranslationJobService.PartialApproved
    • TranslationJobService.Submitting

    Is it possible to hook into this event?

    Thanks, Andy

  • Kevin Jump 2343 posts 14890 karma points MVP 8x c-trib
    Jul 17, 2019 @ 09:45
    Kevin Jump
    100

    Hi Andy,

    In the latest version of Translation Manager for Umbraco 7 (2.3+) there is a ResetJob event*.

    • TranslationJobService.ResetJob

    which will receive a TranslationStatusEventArgs object which contains the job (with the updated status) and an OldStatus value so you can see what it has been reset from.


    *this event hasn't made it into the v8 version yet but is scheduled for the next release

  • Andrew Lansdowne 43 posts 124 karma points
    Jul 17, 2019 @ 11:31
    Andrew Lansdowne
    0

    Amazing, you think of everything, thanks!!

  • Kevin Jump 2343 posts 14890 karma points MVP 8x c-trib
    Jul 17, 2019 @ 11:34
    Kevin Jump
    0

    just good timing someone else asked for that one :)

Please Sign in or register to post replies

Write your reply to:

Draft