elsa-workflows / elsa-workflows/elsa-studio

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

Open
#287 0 comments 0 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
301
Forks
181
Avg merge
17h 12m
Merged PRs (30d)
42

Description

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](https://github.com/user-attachments/assets/63a7b649-9196-4387-89c0-bec0be447606)

Symptom
The requested operation requires an element of type 'Object', but the target element has type 'Null'.
![image](https://github.com/user-attachments/assets/a7f2544a-e4f8-4cb0-afc9-10ac0bf2b074)

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.