Rule to check is another FS_INDEX released

Hello community,

 

I need some help. I have table template with several fs_index components. Is it possible to make rules that would check if these fs_indexes are relased. And if fs_indexes are released then to enable release whole table template.

Something like this:

<FS_INDEX name="tt_contacts" useLanguages="no">
     <LANGINFOS>
        <LANGINFO lang="*" label="Kontakt"/>
        <LANGINFO lang="EN" label="Contact"/>
       </LANGINFOS>
  <SOURCE name="DatasetDataAccessPlugin">
      <TEMPLATE uid="other.contacts"/>
  </SOURCE>
</FS_INDEX>

 

<RULE>
  <WITH>

   <PROPERTY name="ENTRY" source="tt_contacts"/>

-------IF RELEASED-------

</WITH>

<DO>

<VALIDATION scope="RELEASE">

<PROPERTY name="VALID" source="#this"/>
<MESSAGE lang="*" text="You have non released datasets."/>

</VALIDATION>

</DO>
</RULE>

 

0 Kudos