elsa-workflows / elsa-workflows/elsa-core

[BUG] When setting the 'wrong' Result output of an HTTP endpoint activity - it can crash the API/POD

Open
#6,016 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
When setting the 'wrong' Result output of an HTTP endpoint activity - it can crash the API/POD

## Steps to Reproduce
1) Create a simple workflow : like so (attached)
![image](https://github.com/user-attachments/assets/fcdd91b7-bea8-4316-8193-1f32f02da077)
2) create some variables:
![image](https://github.com/user-attachments/assets/2c78b5cb-eea8-4022-94cc-f2dfc916a118)
3) Set the Result to any of variables 1-2-4
![image](https://github.com/user-attachments/assets/95731942-14df-475c-8bdf-27d2020e7ce0)
4) run the workflow - it will succeed / as it will return a 200
5) but the instance will not be listed, when saving will try to convert something which it cant / resulting in a restart of the pod.
The only way that it will work is when u use the variable HTTPR: storage = memory

3. **Attachments**:
[workflow-9.txt](https://github.com/user-attachments/files/17326843/workflow-9.txt)

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

## Expected Behavior
Ui validation to exclude these options.

## Actual Behavior
Application crash.

## Environment
Client version: 3.2.0-rc5.500
Server version: 3.2.0-rc5.2074

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.