<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Lifecycle Email Notification in Vault Customization Forum</title>
    <link>https://forums.autodesk.com/t5/vault-customization-forum/lifecycle-email-notification/m-p/6426521#M8315</link>
    <description>&lt;P&gt;I am trying to create email notification when a file changes lifecycle. I am using powershell, but the link that opens in outlook is not the correct link and it doesn't seem to be accessing the job processor. It only opens outlook once I have run the script. Is there another way to do this? I looked at the lifecycle editor, but am not 100% sure how to hook into it and I also would like to add pdfs to the job type. I have basic understanding of powershell and vb.net&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hoping someone will point me in the right direction and a little bit of help with the coding.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Jul 2016 21:11:13 GMT</pubDate>
    <dc:creator>EnglederS</dc:creator>
    <dc:date>2016-07-08T21:11:13Z</dc:date>
    <item>
      <title>Lifecycle Email Notification</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/lifecycle-email-notification/m-p/6426521#M8315</link>
      <description>&lt;P&gt;I am trying to create email notification when a file changes lifecycle. I am using powershell, but the link that opens in outlook is not the correct link and it doesn't seem to be accessing the job processor. It only opens outlook once I have run the script. Is there another way to do this? I looked at the lifecycle editor, but am not 100% sure how to hook into it and I also would like to add pdfs to the job type. I have basic understanding of powershell and vb.net&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hoping someone will point me in the right direction and a little bit of help with the coding.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 21:11:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/lifecycle-email-notification/m-p/6426521#M8315</guid>
      <dc:creator>EnglederS</dc:creator>
      <dc:date>2016-07-08T21:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Lifecycle Email Notification</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/lifecycle-email-notification/m-p/6426547#M8316</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Take a look at the RestrictOperations sample. You'll need the UpdateLifeCycleStateChange Post. You can also take a look at the WatchFolder sample on the justonesandzeros blog. They are all .NET samples so you would need to convert it to PowerShell, but I am not sure if an extension can be created with PS. The good thing about an extension like RestrictOperations is that the event is also triggered when changing the state of a document for within a CAD application like Inventor.&lt;BR /&gt;&lt;BR /&gt;Hope this helps..&lt;BR /&gt;&lt;BR /&gt;Sent from my iPhone</description>
      <pubDate>Fri, 08 Jul 2016 21:27:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/lifecycle-email-notification/m-p/6426547#M8316</guid>
      <dc:creator>psaarloos</dc:creator>
      <dc:date>2016-07-08T21:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Lifecycle Email Notification</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/lifecycle-email-notification/m-p/6428213#M8317</link>
      <description>&lt;P&gt;I've implemented a similar thing at our site using&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The&amp;nbsp;Lifecycle Event Editor&lt;BR /&gt;&lt;BR /&gt;This is used to put a Job into the Job Queue when a file changes from one LifeCycle State to another&lt;BR /&gt;You can use the executable directly from&amp;nbsp;&lt;STRONG&gt;Autodesk Vault 2016 SDK\util\LifecycleEventEditor&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;A custom Job Handler&lt;BR /&gt;&lt;BR /&gt;I used the sample in&amp;nbsp;&lt;STRONG&gt;Autodesk Vault 2016 SDK\vs12\CSharp\JobProcessorApiSamples&lt;/STRONG&gt; as a starting point&lt;BR /&gt;The job&amp;nbsp;handler receives 3 job parameters -&amp;nbsp;EntityId,&amp;nbsp;EntityClassId,&amp;nbsp;and&amp;nbsp;LifeCycleTransitionId&lt;BR /&gt;Using this it reads file information, and the "from" &amp;amp; "to" states for the transition.&lt;BR /&gt;It formats it into an email, and using some rules we have defined, addresses it to the right person&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;There's not a lot of point to posting the code as most of it is related to our logic, but if you&amp;nbsp;try this method and have any questions I'll try to answer them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2016 03:11:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/lifecycle-email-notification/m-p/6428213#M8317</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-11T03:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Lifecycle Email Notification</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/lifecycle-email-notification/m-p/6428531#M8318</link>
      <description>&lt;P&gt;Following the recommendations focusing on .NET I'd like to add a differentiation:&lt;/P&gt;
&lt;P&gt;1) Is your intent to use powershell&amp;nbsp;in the script environment&amp;nbsp;of Vault Data Standard (VDS)? VDS does not handle events, like life cycle change. In this case follow the recommendations of sample codes already given in the thread. To add email capability in this approach, you can add sample code from here &lt;A title="Q-Tools with Email notification" href="http://justonesandzeros.typepad.com/blog/2012/05/q-tools-and-watch-folder-2013.html" target="_self"&gt;http://justonesandzeros.typepad.com/blog/2012/05/q-tools-and-watch-folder-2013.html&lt;/A&gt;&amp;nbsp;to use SMTP email messaging in .NET.&lt;/P&gt;
&lt;P&gt;2) is your intent to use powershell just for the execution of a job? powerJobs from coolOrange offers this capability and allows to use SMTP messaging as part of the job execution scripting. In this case you find samples in the documentation/blog respectively.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps to decide the path to follow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2016 08:53:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/lifecycle-email-notification/m-p/6428531#M8318</guid>
      <dc:creator>Markus.Koechl</dc:creator>
      <dc:date>2016-07-11T08:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Lifecycle Email Notification</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/lifecycle-email-notification/m-p/6429124#M8319</link>
      <description>&lt;P&gt;I started with powershell because I first came across the sample code from coolorange and I also have looked at zeros and ones watch folder. I could use the watch folders code as is and just modify the email, I was hoping that the sample code from coolorange could be modified without powerjobs, but it only seems to open an email in outlook when the script is run, not when a job has been put into the job processor. I would like an email with the link to the file to be opened when a job goes to the job processor. It looks like i'll probably take another look at the watch folders code.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2016 14:20:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/lifecycle-email-notification/m-p/6429124#M8319</guid>
      <dc:creator>EnglederS</dc:creator>
      <dc:date>2016-07-11T14:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Lifecycle Email Notification</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/lifecycle-email-notification/m-p/6436188#M8320</link>
      <description>&lt;P&gt;You might check this out. Its full featured.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="http://www.hagerman.com/Software/Featured/lifecycle-connection" target="_blank"&gt;http://www.hagerman.com/Software/Featured/lifecycle-connection&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best of Luck,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 14:48:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/lifecycle-email-notification/m-p/6436188#M8320</guid>
      <dc:creator>paulleinweber</dc:creator>
      <dc:date>2016-07-14T14:48:14Z</dc:date>
    </item>
  </channel>
</rss>

