Copied to clipboard

Flag this post as spam?

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


  • Doug Moore 48 posts 103 karma points c-trib
    Jul 25, 2013 @ 17:02
    Doug Moore
    0

    Writing transition to the Audit Trail

    I want to write transitions to the audit trail of the item the transition is ocurring on. All I have come up with is this:

     

    Create a custom Transition .aspx and includ the addition to the audit trail there.

     

    Is there a better way to accomplish this? It would mean I have to create a custom task for every task I want to have log to the auit trail.

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Jul 28, 2013 @ 13:20
    Darren Ferguson
    0

    Which version are you working with Doug? It would be easy to add an event for you to hook into etc.

    I am on vacation - hence slow responses just now.

  • Doug Moore 48 posts 103 karma points c-trib
    Jul 28, 2013 @ 22:15
    Doug Moore
    0

    I will check tomorrow at work, but "the latest" is really the answer. I am working on proof of concept on my development machine and hope to work on the staging server next week, and I will pull it down fresh at that time.

  • Doug Moore 48 posts 103 karma points c-trib
    Jul 30, 2013 @ 15:41
    Doug Moore
    0

    Looks like 2.1.0

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Jul 31, 2013 @ 16:59
    Darren Ferguson
    0

    Pretty straightforward to add. I'm not going to have a chance to do it myself in the next couple of days though....

  • Doug Moore 48 posts 103 karma points c-trib
    Aug 05, 2013 @ 17:22
    Doug Moore
    0

    I'll try to dig in to the source and add something, it just may not be the approach you were going for. :)

    A few options I thought of:

    1. Make the path to transition.aspx configurable
    2. Add it to the transition method so that you can configure going into the audit or not
    3. What I believe you are saying: fire an event in that transition method. This is what I will plan to do if I get time to dive into your code.
  • Doug Moore 48 posts 103 karma points c-trib
    Aug 05, 2013 @ 18:42
    Doug Moore
    0

    Actualy, I'm not sure of your vision on an event. If I simply fire an event from Workflow on a transition, I still have to create a custom task for every transition I want to trigger. Am I missing something in your thoughts?

  • Doug Moore 48 posts 103 karma points c-trib
    Aug 06, 2013 @ 20:24
    Doug Moore
    0

    Is there a solution file for workflow-for-umbraco-4 that is not on github?

     

    disregard. Found it.

  • Doug Moore 48 posts 103 karma points c-trib
    Aug 06, 2013 @ 21:05
    Doug Moore
    0

    I am having trouble getting my hands on SQLCE4Umbraco.dll... do you know where to get it from?

     

    disregard again. :) I found it in my umbraco dir, but it did not get added by nuget for some reason. had to manulaly copy it over.

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Aug 07, 2013 @ 11:18
    Darren Ferguson
    0

    I love it when people figure out their own solutions :)

  • Doug Moore 48 posts 103 karma points c-trib
    Aug 07, 2013 @ 15:47
    Doug Moore
    0

    If I find 3rd party libs that aren't in the straight github pull, do you want me to submit a pull request that includes them?

Please Sign in or register to post replies

Write your reply to:

Draft