requestInput
fun <T> requestInput(interruptId: String = Uuid.random(), message: String? = null, payload: Any? = null, responseSchema: Schema? = null): T
Asks the user for input like NodeBody.requestInput, and sends payload as JSON through the same mapper as typed ports, so a record or POJO reaches the client in its JSON form.
Throws
if Jackson cannot write payload.