elsa-workflows / elsa-workflows/elsa-core

Custom Activity: How to make it Fail. Using False()?

Open
#1,659 2 comments 1 reaction 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

Hi,
In my custom activity I return Fault with some comment.
`return Fault("Error get access /quote/CorrelationId endpoint");`
So it will make fail my workflow. But I don't know where the error message is displayed.
All I can see is that the activity has been executed and there was problem.
What's a proper way to display errors?

![image](https://user-images.githubusercontent.com/45927310/137420398-36964d1b-0376-4611-90ee-70fcc0e32be7.png)

_Originally posted by @cfrelet in https://github.com/elsa-workflows/elsa-core/discussions/1637#discussioncomment-1480133_

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.