I press Run
Disparador
manual-runStarts when you press Run and choose the files.
De un vistazo
| Propiedad | Valor |
|---|---|
| Trigger name | manual-run |
| Resource | ClusterTrigger (lumen.ai/v1alpha1) |
| Source | manual |
| Needs a connection | no |
| Produces | file |
| Emits | item |
| Installation must provide | nothing |
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
¿Te ha resultado útil esta página?