Turns every BPMN process into a typed API, checks the models in your tests and gives your agent the skills to implement them.
id("io.miragon.bpmn-to-code-gradle") version "7.0.1"
Upload a BPMN file in the browser, download its API.
No install, no account.
1// Generated by bpmn-to-code 37object BikeLeasingProcessApi { 38 val PROCESS_ID: ProcessId = ProcessId("bikeLeasing") 45 object FlowNodes { 625 object ServiceTaskSendContract : AbstractFlowNode(…), HasJobType, … { 632 override val jobType: String = ServiceTasks.MIRAVELO_SEND_CONTRACT
12 @JobWorker(type = ServiceTasks.MIRAVELO_SEND_CONTRACT) 13 fun send(@Variable(name = ProcessVariables.APPLICATION_ID) id: String) = 14 mapOf(ServiceTaskSendContract.Variables.CONTRACT_ID.value to send(id))