Hello everybody.
i'm trying to make a simple worklet example, but i've encountered some issues.
At this point i 've generated two worklet specification file with the yawl java process editor version 3.0.1.
This generates some xml in the form of:

<?xml version="1.0" encoding="UTF-8"?>
<specificationSet xmlns="http://www.yawlfoundation.org/yawlschema&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; version="3.0" xsi:schemaLocation="http://www.yawlfoundation.org/yawlschema http://www.yawlfoundation.org/yawlschema/YAWL_Schema3.0.xsd"&gt;
<specification uri="ExampleWorklet1">
<documentation>No description provided</documentation>
<metaData>
<creator>....</creator>
<description>No description provided</description>
<version>0.1</version>
<persistent>false</persistent>
<identifier>UID_ca03145f-5a74-47ee-8b0e-748a710e476f</identifier>
</metaData>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema&quot; />
<decomposition id="Net" isRootNet="true" xsi:type="NetFactsType">
<inputParam>
<index>0</index>
<name>inputVar</nam
etc...

then when the parent process reach a task associated with the worklet service, this gets informed and it try to substitute the task with another process case. but this steps failed because it seems to me that the worklet service expect a process definition in version 2.0 (not compatible with the 3.0 version that the editor wrote).
In particular inspecting the worklet service code (org.yawlfoundation.yawl.worklet.WorkletService getWorkletSpecID method) i saw that the workletService find the identifier in the xml only if the schema version is 2.__

Are this two services incompatible (engine and worklet service, ) or exists a worklet service version that is compatible with process definitions wrote in 3.0 schema version?

Thanks to all!
Federico & Bea.

Michael Adams

Thu, 06/11/2015 - 09:12

THanks for locating this problem. It has been resolved in the latest updates (worklet service 1750).