Release Date

April, 2020

Release Notes

For on-premise installation, make sure to read the  "Upgrading to 4.5+" section at the bottom of this page

Improvements

Flow Execution Panel

  • Flow Output Panel - Ability to collapse/expand all items
  • Name of the block now specified when an error occurs in a Flow
  • Smart Form - Validation now performed when 'Next' is clicked
  • A flow can now wait for an anonymous Smart Form to be filled before resuming the execution

Project Console

  • Flow Builder - Ability to customize the timezone when formatting Date/Time in a template
  • Flow Builder - Ability to format a date/time
  • Flow Builder - Creating a flow from a template with schema data set is no longer using the deprecated "Retrieve data from Url"
  • Flow Builder - Ability to map the printer in a Print step
  • Flow Builder - Ability to map data from one data set to another (e.g. Populate a Smart Form with value coming from CRM)
  • Flow Builder - Ability to test a Flow without selecting  any input
  • Flow Builder - Ability to see previous test runs for a flow
  • Data Set - Ability to download the original XSD of a schema data set

Xperido Migration

  • Ability to import schema datasets (queries) from XperiDo into Smart Flows
  • Optimization of XperiDo project import into Smart Flows

Microsoft Dynamics 365/Microsoft SharePoint Integration

  • SharePoint Document Locations info can now be used in a Flow

Sugar Integration

  • Smart Flows now compatible with SugarCRM 9.3
  • Smart Flows now compatible with SugarCRM 10

Template Builder for Microsoft Word

  • Added support for TLS 1.2

Fixes

Flow Execution Panel

  • When using a smart forms data set for data set in flow output, no fields are displayed

Project Console

  • Flow Builder - "Save changes" bar appear even though nothing has been modified
  • Flow Builder - It's not possible to create conditions based on data sets added to templates not on the first page
  • Flow Builder - Editable field no longer visible in the panel still considered in Flow Builder and flow execution
  • Flow Builder - When using a smart forms data set for data set in flow output, no fields are displayed
  • Flows - Filter flows by a tag group with one character returns all flows
  • Data Set - Relative dates with value 0 don't work in custom data sets
  • Importing a data set can trigger a deadlock
  • Valid license file validates as invalid when there is a line break in the first line of the license file
  • When an error occurs during the import of a certificate, the error is not shown to the user
  • When getting the xml preview of a sample on a custom data set containing a value for a datetime, an error occurs
  • Change detection triggered on retrieve data after creation of flow

Sugar Integration

  • Sometimes, the Sugar access token is invalid while it shouldn't be

Template Builder for Microsoft Word

  • Fields used in pseudorelations are not considered when analyzing fields
  • Sorting loops - Select Field dialog doesn't highlight selected 'sort by' field
  • Namespace prefixes are not propagated well to fields used in XPath predicates

Dynamics Integration

  • Deadlock when trying to create a Dynamics flow & refreshing the access token
  • Dynamics solution import fails when importing in Dynamics 8.1

Portal Integration

  • Store in Content Manager step fails when record name contains apostrophe (')

SharePoint Integration

  • NullPointerException occurs when creating connection to SharePoint using SharepointUsernameConnector

Other

  • Cannot backup project if there are connectors of a type which is not supported by the license, unclear errors
  • Tagging component crashes when there is a tag with a . (dot) in its name

Upgrading to 4.5+

Java 11

Since version 4.5, we target java 11 to take advantage of new features. You need to install a java 11 version and use that one for Smart Flows. You can either use Adopt OpenJDK  or Oracle OpenJDK . After installation of the jdk, you need to update the java executable in the <executable> element in the smartflows-server.xml configuration file, for instance when using the Adopt Open JDK:

<service>
	<id>smartflows-server</id>
	<name>Xpertdoc Smart Flows Server</name>
	<description>Xpertdoc Smart Flows Server</description>
	<workingdirectory>%BASE%\</workingdirectory>
	<logpath>%BASE%\logs</logpath>
	<logmode>rotate</logmode>

	<executable>C:\Program Files\AdoptOpenJDK\jdk-11.0.7.10-hotspot\bin\java.exe</executable>
	<startargument>-Dcom.sun.management.jmxremote.port=9999</startargument>
	<startargument>-Dcom.sun.management.jmxremote.authenticate=false</startargument>
	<startargument>-Dcom.sun.management.jmxremote.ssl=false</startargument>
	<startargument>-Dspring.profiles.active=multitenant</startargument>
	<startargument>-jar</startargument>
	<startargument>smartflows-server-4.5.0.0.jar</startargument>
</service>

If you are still using an incompatible jdk, you will see something like this in smartflows-server.err.log:

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/xperido/project/XperiDoProjectApplication has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at java.security.SecureClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.access$100(Unknown Source)
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:93)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:46)
	at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
	at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
	at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)

DB Migration

With the release of 4.4.2, db migration 69  was rolled out while db migration 68  was not yet available. Therefore, before starting an upgrade, you need to enable out of order db migrations by settings the application property spring.flyway.out-of-order:

spring.flyway.out-of-order=true

If this is not done, you will see an error similar to this one:

Caused by: org.flywaydb.core.api.FlywayException: Validate failed: Detected resolved migration not applied to database: 68
	at org.flywaydb.core.Flyway.doValidate(Flyway.java:1482)
	at org.flywaydb.core.Flyway.access$100(Flyway.java:85)
	at org.flywaydb.core.Flyway$1.execute(Flyway.java:1364)
	at org.flywaydb.core.Flyway$1.execute(Flyway.java:1356)
	at org.flywaydb.core.Flyway.execute(Flyway.java:1711)
	at org.flywaydb.core.Flyway.migrate(Flyway.java:1356)
	at com.xperido.project.MultiTenantFlywayMigrationStrategy.migrate(MultiTenantFlywayMigrationStrategy.java:26)
	at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:63)

Java 11 - Certificates

If you are connecting Smart Flows with the Xpertdoc Portal, you may need to update some Go Daddy certificates since some are not working properly with Java 11. For more information, please contact our support at support@xpertdoc.com.

JPEG Handling

To prevent bad rendering of JPEG images, make sure to update/install ImageMagik following the steps bellow:

  • Download and install from https://imagemagick.org/script/download.php
  • In the installation folder, copy magick.exe -> convert.exe (find out why, https://stackoverflow.com/a/44014747/769258)
  • Set env variable IM4JAVA_TOOLPATH=C:\Program Files\ImageMagick-7.0.10-Q16 (the installation folder of ImageMagick)
  • Download im4java jar from https://sourceforge.net/projects/im4java/files/
  • Copy im4java-1.4.0.jar to <installdir>/lib
  • Replace in smartflows-server.xml (to add im4java to classpath)

    <startargument>-jar</startargument>
    <startargument>smartflows-server-4.5.0.6.jar</startargument>

    with

    <startargument>-cp</startargument>
    <startargument>smartflows-server-4.5.0.6.jar;lib/im4java-1.4.0.jar</startargument>
    <startargument>-Dloader.main=com.xperido.project.XperiDoProjectApplication</startargument>
    <startargument>org.springframework.boot.loader.PropertiesLauncher</startargument>

  • Restart service

Xpertdoc Smart Flows 4.5/Downloads






  • No labels