chore: target Java 17 and document usage plus roadmap
Lower the compiler baseline to 17, rename listDefinitions to queryDefinitions, and align README/usage/roadmap with planned vs out-of-scope work. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -23,7 +23,7 @@ public final class LeaveRequestExample {
|
||||
var instance = ordo.start("leave-request", "alice", new ProcessContext(Map.of(
|
||||
"requestId", "LEAVE-2026-001"
|
||||
)));
|
||||
var managerTask = ordo.findTasks(instance.id()).getFirst();
|
||||
var managerTask = ordo.findTasks(instance.id()).get(0);
|
||||
ordo.approve(managerTask.id(), "maria", "Approved by the manager.");
|
||||
var hrTask = ordo.findTasks(instance.id()).get(1);
|
||||
ordo.approve(hrTask.id(), "henry", "Leave record updated.");
|
||||
|
||||
Reference in New Issue
Block a user