elsa-workflows / elsa-studio

A modular, extensible dashboard application framework
MIT License
187 stars 90 forks source link

'Object', but the target element has type 'Null'. #287

Open MariusVuscanNx opened 2 months ago

MariusVuscanNx commented 2 months ago
  1. Create a workflow (Child workflow)
  2. Create a input with name: "ObjectVariable"
  3. Create a output with name "ObjectVariable" (Same as input)
  4. Enable "Useable as activity"
  5. Create new workflow
  6. Use "Child workflow" as activity
  7. Change input of Object to type Javascript. image

Symptom The requested operation requires an element of type 'Object', but the target element has type 'Null'. image

Client version: 3.1.0-preview.297 Server version: 3.1.1

Probably the issue is the fact that we use the same name for the input and output. To avoid this scenarios we might want to have some validation.