Automation adding additional unspecified property group to wizard

OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
dferguson
Expert Boarder
Expert Boarder
Posts: 89
Joined: Thu May 18, 2017 12:48 pm

Automation adding additional unspecified property group to wizard

Post by dferguson » Wed Jan 24, 2018 5:31 pm

I have an incident where an automation rule is adding an unspecified property group to the document wizard. I have several automation rules that work successfully but this one, which had worked flawlessly for months, now has started to added an additional property group to the wizard. I have checked and rechecked the rule definition. I have also deleted the rule and recreated it. I have stopped and restarted the tomcat service.

This rule:
Screenshot from 2018-01-24 12-29-22.png
is adding the addition property group "okg:iso" at execution.

here is my property group definition

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE property-groups PUBLIC "-//OpenKM//DTD Property Groups 2.0//EN"
                                 "http://www.openkm.com/dtd/property-groups-2.0.dtd">
<property-groups>
  <property-group label="Doc State" name="okg:docstate">
    <select label="Doc State" name="okp:docstate.select" type="simple">
      <option label="Current" value="001" />
      <option label="WIP" value="002" />
      <option label="Legacy" value="003" />
     </select>
  </property-group>
  <property-group label="Status" name="okg:status">
    <select label="Status" name="okp:status.select" type="simple">
      <option label="Development" value="001" />
        <option label="Review" value="002" />
      <option label="Training" value="003" />
      <option label="Disposition" value="004" />
        <option label="Complete" value="005" />
     </select>
  </property-group>
    <property-group label="Build Step" name="okg:buildstep">
    <select label="Build Step" name="okp:buildstep.select" type="simple">
      <option label="Work Order" value="001" />
        <option label="Incoming Inspection" value="002" />
      <option label="NCR" value="003" />
      <option label="FAT" value="004" />
        <option label="PAT" value="005" />
        <option label= "Deviation" value="006" />
        <option label= "Job Traveler" value="007" />
        <option label= "Redline" value="008" />
        <option label= "FAI" value="009" />
        <option label= "Certifcate of Compliance" value="010" />
        <option label= "Serial Number Form" value="011" />
     </select>
  </property-group>
    <property-group label="Dennis' Metadata" name="okg:dennismeta">
    <select label="Dennis' Metadata" name="okp:dennismeta.select" type="simple">
      <option label="Accelrator" value="001" />
        <option label="Cabinet" value="002" />
      <option label="Cables" value="003" />
      </select>
  </property-group>
    <property-group label="Redline" name="okg:redline" readonly="false">
    <checkbox label="With redline" name="okp:redline.checkbox" />
  </property-group>
    <property-group label="DHF" name="okg:dhf">
    <select label="Design History Phase" name="okp:dhf.select1" type="simple">
      <option label="Development Plan" value="001" />
        <option label="Safety and Risk Analysis" value="002" />
      <option label="Design Inputs" value="003" />
       <option label="Design V and V" value="005" />
        <option label="Design Review" value="006" />
        <option label="Design Outputs" value="007" />
        <option label="Design Transfer" value="008" />
     </select>
         <select label="Document Type" name="okp:dhf.select2" type="simple">
      <option label="Hardware" value="001" />
        <option label="Software" value="002" />
      <option label="MPI" value="003" />
        <option label="FPI" value="004" />
      <option label="SOP" value="005" />
        <option label="Manual" value="006" />
        <option label="Form" value="007" />
        <option label="Schematic" value="008" />
        <option label="Wiring Diagram" value="009" />
        <option label="Label" value="010" />
        <option label="Release Notes" value="011" />
        <option label="Acceptance Test" value="012" />
        <option label="Marketing" value="013" />
        <option label="Plan" value="014" />
        <option label="ECO Commencement" value="015" />
        <option label="Report" value="016" />
        <option label="Part Disposition" value="017" />
        <option label="ECO Completion" value="0018" />
        <option label="Protocol" value="0019" />
        <option label="Risk" value="020" />
        <option label="Safety" value="021" />
        <option label="White Paper" value="022" />     
     </select>
        <select label="SubSystem" name="okp:dhf.select3" type="simple">
      <option label="RIG" value="001" />
      <option label="CPM" value="002" />
      <option label="SW" value="003" />
        <option label="DSC" value="004" />
        <option label="System" value="005" />
        <option label="User" value="006" />
         <option label="CHW" value="007" />
        <option label="Consumables" value="008" />
        <option label="QCM" value="009" />
     </select>
  </property-group>
    <property-group label="SubSystem" name="okg:subsystem">
    <select label="SubSystem" name="okp:subsystem.select" type="simple">
      <option label="RIG" value="001" />
      <option label="CPM" value="002" />
      <option label="SW" value="003" />
        <option label="DSC" value="004" />
        <option label="System" value="005" />
        <option label="User" value="006" />
         <option label="CHW" value="007" />
        <option label="Consumables" value="008" />
        <option label="QCM" value="009" />
     </select>
  </property-group>
 <property-group label="Design Phase" name="okg:designphase">
    <select label="Design Phase" name="okp:designphase.select" type="simple">
      <option label="Charter" value="001" />
      <option label="Scoping" value="002" />
      <option label="Verification and Validation" value="003" />
        <option label="Design Transfer" value="004" />
        <option label="Design Output" value="005" />
     </select>
  </property-group>
    <property-group label="ISO Standard" name="okg:iso">
    <select label="ISO 13485:2003" name="okp:iso.select1" type="simple">
      <option label="411" value="001" />
        <option label="421" value="002" />
      <option label="422" value="003" />
       <option label="541" value="005" />
        <option label="551" value="006" />
        <option label="561" value="007" />
        <option label="621" value="008" />
        <option label="631" value="009" />
        <option label="632" value="010" />
      <option label="633" value="011" />
       <option label="634" value="012" />
        <option label="635" value="013" />
        <option label="641" value="014" />
        <option label="711" value="015" />
        <option label="721" value="016" />
        <option label="731" value="017" />
      <option label="732" value="018" />
       <option label="733" value="019" />
        <option label="734" value="020" />
        <option label="741" value="021" />
        <option label="742" value="022" />
        <option label="743" value="023" />
        <option label="751" value="024" />
      <option label="752" value="025" />
       <option label="753" value="026" />
        <option label="754" value="027" />
        <option label="755" value="028" />
        <option label="756" value="029" />
        <option label="761" value="030" />
        <option label="821" value="031" />
      <option label="822" value="032" />
       <option label="831" value="033" />
        <option label="841" value="034" />
        <option label="851" value="035" />
        <option label="912" value="036" />
        <option label="913" value="037" />
        <option label="915" value="038" />
     </select>
        <select label="ISO 9001:2015" name="okp:iso.select2" type="simple">
      <option label="400" value="001" />
        <option label="500" value="002" />
      <option label="600" value="003" />
       <option label="713" value="005" />
        <option label="714" value="006" />
        <option label="715" value="007" />
        <option label="720" value="008" />
        <option label="750" value="009" />
        <option label="800" value="010" />
      <option label="821" value="011" />
       <option label="822" value="012" />
        <option label="830" value="013" />
        <option label="840" value="014" />
        <option label="850" value="015" />
        <option label="852" value="016" />
        <option label="854" value="017" />
      <option label="855" value="018" />
       <option label="870" value="019" />
        <option label="910" value="020" />
        <option label="920" value="021" />
        <option label="930" value="022" />
        <option label="990" value="023" />
        </select>
  </property-group>
 </property-groups>

jllort
Moderator
Moderator
Posts: 10024
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Automation adding additional unspecified property group to wizard

Post by jllort » Sat Jan 27, 2018 4:06 pm

If are added additional property groups, then the reason comes from other automation definition. Remember all automation actions what success in the validation will be applied that means if you have several automations what pass the validation and add a group to the wizard you will have several groups there. Any automation without validation conditions it means will be applied always.

dferguson
Expert Boarder
Expert Boarder
Posts: 89
Joined: Thu May 18, 2017 12:48 pm

Re: Automation adding additional unspecified property group to wizard

Post by dferguson » Mon Jan 29, 2018 7:25 pm

Thanks,

I found that the validation towards property group in question (okg:iso) was not active, thus applying it to all automations as you pointed out. I activated the validation and everything works.

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests