Lifecycle Event Editor – The Plugin

I decided to fulfill my own request for this month.  I didn’t have much time to spend writing a new app, so I decided to grab Lifecycle Event Editor code from the EXE and tweak it to run inside Vault Explorer.

The plug-in itself has the exact same feature set as the exe.  But if you are not familiar with it, here is a quick run down.  You can use the Lifecycle Event Editor to tell the server to fire jobs when objects move through specific lifecycle states.  For example, you want a job of type “Dougpunch” to be created every time a file goes from For Review to Released, you might set something up like this. 

If you commit the changes then look at the Job Queue… you won’t see anything.  The Lifecycle Event Editor does not actually put any jobs on the queue, it just lets you configure the server settings.  The “Dougpunch” jobs show up when you move files from For Review to Released. 

Of course, if you try this out in your Vault nothing interesting will happen.  It will just result in a bunch of Dougpunch jobs on the queue that sit there until deleted.  There is nothing that is set up to handle Dougpunch jobs.  At least I hope there is not. 

The lifecycle event feature is useful for when you define your own job types through the API.  There are also some utilities, such as Project Sync, which hook into this framework.


Requirements:

  • Vault 2013 Workgroup / Collaboration / Professional
  • Job Queue enabled
  • Admin rights

Click here to download the application
Click here to download the source code

As with all the samples on this site, the legal disclaimer applies.


Comments

5 responses to “Lifecycle Event Editor – The Plugin”

  1. Vault Friend Avatar
    Vault Friend

    I appreciate this. It’s simple in terms of the difference in accessing the exe vs inside vault, but since I’m usually already in vault it will be nice to just load it from there.
    On a side note, when I read first the post I read it as dogpunch and I’m like why on earth! Then I re-read it the correct way and laughed out loud!

  2. very cool and useful, should be in core in my honest opinion.

  3. Hello, is this compatible with 2014? I need to add job “Create PDF” to lifecycle with plugin from cool orange, but i see there that Lifecycle Event Editor is mostly for 2013 versions.

  4. Sorry, it’s not compatible with 2014.
    The workaround is to go to the SDK folder under your client install location. Install the SDK, then go to the Util folder under the SDK’s install location. There you will find an EXE version of the Lifecycle Event Editor.

  5. Hi Doug,
    I have some questions about jobs type
    what is the file extension ?
    Where I must save my file (my procedure)
    where must I declare my procedure (file.config .xml … ? )
    I use Vault professional 2015 update 2

Leave a Reply to Doug RedmondCancel reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading