<?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 select WCM workflow based on modified files? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/select-wcm-workflow-based-on-modified-files/m-p/254426#M207556</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've got a web project and I've enabled two workflows for it.&amp;nbsp; The details are slightly different but we can model the problem as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. On a given Web Project I have one "Web Site Submission" workflow WSS and a custom workflow CWF.&amp;nbsp; The two workflows have different regular expressions (RE1 and RE2) in the "Filename pattern match".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. When the modified files all match RE1 I want it to use WSS so it's reviewed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. When the modified files all match RE2 I want it to use CWF (it's not reviewed and it's automatically deployed).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. When some modified files match RE1 and others match RE2 I would like the corresponding files to go to the correct workflow (RE1-&amp;gt;WSS, RE2-&amp;gt;CWF).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently what happens is that I get a submit dialog that shows both WSS and WSS workflows, I can select one or the other and all the modified files go to the selected workflow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's a good way to get the behavior described above?&amp;nbsp; Is there some bean I could customize (runs before submit-dialog.jsp is called) that could clean up the list of files and the available workflows so that submit-dialog would show only one workflow and the matching files (probably with a warning that there are still other files to be deployed by another workflow so the user would know to run submit again)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or would I have just one workflow and have the workflow detect that certain files need review and the running workflow forks off a second workflow in parallel for the files to be reviewed?&amp;nbsp; If that's the right way to do it, how would it be done?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Apr 2012 22:01:54 GMT</pubDate>
    <dc:creator>bopolissimus</dc:creator>
    <dc:date>2012-04-04T22:01:54Z</dc:date>
    <item>
      <title>select WCM workflow based on modified files?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/select-wcm-workflow-based-on-modified-files/m-p/254426#M207556</link>
      <description>I've got a web project and I've enabled two workflows for it.&amp;nbsp; The details are slightly different but we can model the problem as:1. On a given Web Project I have one "Web Site Submission" workflow WSS and a custom workflow CWF.&amp;nbsp; The two workflows have different regular expressions (RE1 and RE2) in</description>
      <pubDate>Wed, 04 Apr 2012 22:01:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/select-wcm-workflow-based-on-modified-files/m-p/254426#M207556</guid>
      <dc:creator>bopolissimus</dc:creator>
      <dc:date>2012-04-04T22:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: select WCM workflow based on modified files?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/select-wcm-workflow-based-on-modified-files/m-p/254427#M207557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes you could customize the SubmitDialog bean.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That is the backend bean behind the page which you see with option to select the workflow and responsible for submitting the webcontents.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2012 09:54:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/select-wcm-workflow-based-on-modified-files/m-p/254427#M207557</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2012-04-05T09:54:44Z</dc:date>
    </item>
  </channel>
</rss>

