elsa-workflows / elsa-workflows/elsa-core

[BUG] DownloadHttpFile Activity - Using storage : workflow variable will result in a server error

Open
#6,015 0 comments 0 reactions 0 assignees View on GitHub
bug triaged
Dominant language
C#
Stars
7.9k
Forks
1.5k
Avg merge
15h 22m
Merged PRs (30d)
114

Description

## Description
Using a workflow variable storage for a DownloadHttpFile activity will result in an error.

## Steps to Reproduce
1) create a simple download file workflow like so:
![image](https://github.com/user-attachments/assets/43617af4-df29-4ff0-bb7f-364d29502456)
2) in the download file: output : result -> set the Result to a variable.
![image](https://github.com/user-attachments/assets/fd323007-4463-4864-9686-ae03d49bf9e2)
3) have the variable declared like so:
![image](https://github.com/user-attachments/assets/b5ab6440-9e58-418b-8e89-c300a22c7a52)
4) call the http endpoint
![image](https://github.com/user-attachments/assets/0bc21a98-97fe-4329-bfdc-c7761258570e)

4. **Reproduction Rate**: Every time.

5. **Video/Screenshots**:
![image](https://github.com/user-attachments/assets/196821a1-fc3d-4475-8eb7-dd962509983c)

## Expected Behavior
No error should be thrown, maybe not allow variables of that type to be used for the activity.

## Actual Behavior
Error is thrown.

## Environment
Client version: 3.2.0-rc2
Server version: 3.2.0-rc2

## Additional Context
If you se the variable storage type to memory, the error disappears.

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.