Looking for help with feature XY of YAWL? Have a general question about YAWL?

Creating YAWL control flows programmatically

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

What should I run when I want to debug in YAWL API

Hi, I want to change something in YAWL API.
However, when I try to run the API, I don't know which main function should I choose so that I can get same result as I run controlpanel and resource service. When I run YControlPanel class, there is a nullPointException Error like this.
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at org.yawlfoundation.yawl.controlpanel.components.ComponentsPane.enableButton(ComponentsPane.java:139)

About getting log predicates OR adding other new attribute to log

I tried to use log predicates but the link (Java Command Line Program) in the below link showed me an error message.
How can I get log predicates in my log? Is there any tutorial that I can use to use YAWL API for that?