Hi,
is it possible to create YAWL control flows programmatically using the API? are there any samples or guides for that? because I am unable to get started on this.
I want to create the workflows directly using Java instead of the editor because I am planning to convert numerous workflows into YAWL.
Your assistance is appreciated

Michael Adams

Mon, 02/03/2020 - 07:32

In the lib folder of the YAWL Editor is a jar called YAWLEditor-core-4.x.jar. This jar contains all you need to create and update specs programmatically. The starting point is YSpecificationHandler, from which you can access a YControlFlowHandler, YDataHandler and YResourceHandler for adding and modifying each of those perspectives. Attached is the editor's javadoc for your reference. Let me know if you have any questions.

javadoc.zip (5.69 MB)