AnsweredAssumed Answered

content rule condition by type

Question asked by kay_be_ on Jan 20, 2012
Latest reply on Feb 1, 2012 by kay_be_
I made several custom models. I receive scanned documents with CMIS and I want the dropfolder to run content rules that has a condition that depends on the model the document has.
<?xml version="1.0" encoding="UTF-8"?>
<!– Custom Model –>
<!– Note: This model is pre-configured to load at startup of the Repository.  So, all custom –>
<!–       types and aspects added here will automatically be registered –>

<model name="ephesoft:demomodel" xmlns="">
<!– Optional meta-data about the model –>
<author>Tjarda Peelen - VLC</author>

   <!– Import Alfresco Dictionary Definitions –>
   <import uri="" prefix="d"/>
   <!– Import Alfresco Content Domain Model Definitions –>
   <import uri="" prefix="cm"/>
<!– Introduction of new namespaces defined by this model –>
<!– NOTE: The following namespace custom.model should be changed to reflect your own namespace –>   <namespaces>      <namespace uri="com.ephesoftalfresco.demo" prefix="ephesoft"/>   </namespaces>
  <constraints />
      <type name="ephesoft:document">
      <property name="ephesoft:state">
          <property name="ephesoft:city">

Now I want a rule to run only on documents on documents of that model. Is that possible? How can that be done?
When I select condition by type or subtype, I only see content and space as options. Do I have to configu that list with the new models?