elsa-workflows / elsa-workflows/elsa-core

Elsa 3 error executing csharp expression - The memory block 'Elsa.Expressions.Models.MemoryBlockReference' does not exist

Open
#5,264 2 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
Getting error - 'The memory block 'Elsa.Expressions.Models.MemoryBlockReference' does not exist' when a accessing workflow input inside "Elsa.FlowDecision" using csharp expression **"Input.Get(\"IsError\")"**

## Steps to Reproduce

1. Workflow uses custom activities and FlowDecision. Workflow expects input of type boolean
2. The flow is designed using designer and WorkFlow JSON is exported and run from .Net 8 application using code below

![image](https://github.com/elsa-workflows/elsa-core/assets/61468185/3860400c-062a-4780-9810-4fbaff13bc50)

Attached is the workflow json generated

[elsa3.json](https://github.com/elsa-workflows/elsa-core/files/15082909/elsa3.json)

Please advise.

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.