Saltar al contenido principal

I press Run

Disparadormanual-run

Starts when you press Run and choose the files.

De un vistazo​

PropiedadValor
Trigger namemanual-run
ResourceClusterTrigger (lumen.ai/v1alpha1)
Sourcemanual
Needs a connectionno
Producesfile
Emitsitem
Installation must providenothing

The trigger goes under spec.triggers of a Flow. Its outputs are referenced as <triggerId>.<field>. A trigger can also carry a when condition ("Start only when") and disabled: true.

Salidas​

Sin salidas con nombre: este disparador solo entrega los documentos a su primer nodo.

Úsalo en un flujo​

flow.yaml
apiVersion: lumen.ai/v1alpha1
kind: Flow
metadata:
name: manual-run-example
namespace: tenant-acme
spec:
displayName: "I press Run"
triggers:
- id: start
ref: {name: manual-run}
next: [notify-in-app]
nodes:
- id: notify-in-app
stepRef: {name: notify-in-app}
config:
body: 'Total: {total}'
title: New invoice from {supplier}
to: admins