Page 1 of 1

Multiple Automation actions not running

PostPosted:Sun Sep 06, 2020 6:23 pm
by jcardila
I have 3 different AddPropertyGroupToWizard actions that should each ask for metadata group fields when a document is added, but strangely only 2 of those ask for the information, the other metadata group is added to the document but with empty fields. Tried changing the Order field but I cant get it to work. What else could I try or could be wrong? Thanks!

Re: Multiple Automation actions not running

PostPosted:Sat Sep 12, 2020 11:24 am
by jllort
1- Share some screenshots for better understanding ( from UI and from automation view -> maybe video will be better ? ).
2- Share your current OpenKM version.
3- Share the metadata groups definition.

Re: Multiple Automation actions not running

PostPosted:Sat Sep 12, 2020 9:09 pm
by jcardila
jllort wrote: Sat Sep 12, 2020 11:24 am 1- Share some screenshots for better understanding ( from UI and from automation view -> maybe video will be better ? ).
2- Share your current OpenKM version.
3- Share the metadata groups definition.
Thanks!
1. Video of whats happening: https://drive.google.com/file/d/12H5JXj ... p=drivesdk
2. Version 6.3.9
3. Metadata definitions:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE property-groups PUBLIC "-//OpenKM//DTD Property Groups 2.5//EN"
                                 "http://www.openkm.com/dtd/property-groups-2.5.dtd">
<property-groups>

  <!-- Fecha Documento -->
  <property-group label="Fecha Documento" name="okg:fechaDocumento">
    <input label="Fecha Documento" type="date" name="okp:fechaDocumento.fechaDocumento">
      <validator type="req" />
    </input>
  </property-group>

  <!-- Socio de Negoicios -->
  <property-group label="Socio de Negocios" name="okg:socioNegocios">
    <suggestbox label="Socio de Negocios" name="okp:socioNegocios.socioNegocios" width="200px"
        table = "socionegocios"
        dialogTitle="Seleccionar Socio de Negocios"
        filterMinLen="3"
        filterQuery="select $sn_id, $sn_nombre from DatabaseMetadataValue dmv where dmv.table='socionegocios' and lower(dmv.$sn_nombre) like lower('%{0}%') order by dmv.$sn_nombre"
        valueQuery="select $sn_id, $sn_nombre from DatabaseMetadataValue dmv where dmv.table='socionegocios' and dmv.$sn_id='{0}'">
      <validator type="req" />
    </suggestbox> 
  </property-group>

  <!-- No. Asiento -->
  <property-group label="No. Asiento" name="okg:numAsiento">
    <input label="No. Asiento" type="text" name="okp:numAsiento.numAsiento">
      <validator type="req" />
      <validator type="num" />
    </input>    
  </property-group>

</property-groups>


Re: Multiple Automation actions not running

PostPosted:Sun Sep 13, 2020 6:13 pm
by jllort
It seems some kind of unknown bug. Add a issue here https://github.com/openkm/document-mana ... tem/issues ( share the post URL and the video ).

Re: Multiple Automation actions not running

PostPosted:Sun Sep 13, 2020 9:37 pm
by jcardila

Re: Multiple Automation actions not running

PostPosted:Sun Sep 13, 2020 11:27 pm
by jcardila
Additional info: Deleting the automations and using instead the wizard requiring the 3 metadata groups the result is the same, the wizard only asks for information of 2 metadata groups and it adds the third one empty.

Re: Multiple Automation actions not running

PostPosted:Fri Sep 18, 2020 6:09 pm
by jllort
Still, we have not got time to check in Community Edition, as soon as possible we will review it.
Maybe a quick solution for you will be duplicate the automation -> make 3 automation and add in each one the group. Maybe in this manner, it works I suppose.

Re: Multiple Automation actions not running

PostPosted:Fri Sep 18, 2020 8:45 pm
by jcardila
jllort wrote: Fri Sep 18, 2020 6:09 pm Still, we have not got time to check in Community Edition, as soon as possible we will review it.
Maybe a quick solution for you will be duplicate the automation -> make 3 automation and add in each one the group. Maybe in this manner, it works I suppose.
Tried and it doesnt work. The same result, only asks for information for two of the three metadata groups.

Re: Multiple Automation actions not running

PostPosted:Mon Jan 04, 2021 2:09 pm
by mi_685
Pushup this treat.

I have same issue since upgrade from 6.3.6 to 6.3.7.
Current version is 6.3.10.

Any ideas? Thanks

Re: Multiple Automation actions not running

PostPosted:Tue Jan 05, 2021 12:43 pm
by mi_685
Problem for OpenKM version: 6.3.10 on my System is solved.

Solution:
- Update my Java SE Runtime Environment (JRE) from 1.8.0.251 to 1.8.0.271).
- Update the JRE-Path for Windows System Variable "JAVA_HOME" too (C:\Program Files\Java\jre1.8.0_251 to C:\Program Files\Java\jre1.8.0_271).

Good luck.