Code Monkey home page Code Monkey logo

Comments (3)

glime-ai avatar glime-ai commented on August 24, 2024

Based on the information provided, it seems that you have encountered a known issue with the SendHttpRequest activity in Elsa Workflows where the FailedToConnect and Timeout outcomes are not being properly handled. This issue has been acknowledged in the Elsa community, and a fix has been suggested which involves modifying the SendHttpRequestActivityResolver to ensure that these outcomes yield return their respective activities.

To resolve the issue, you should apply the patch you've mentioned to the SendHttpRequestActivityResolver. This will ensure that the Timeout and FailedToConnect activities are returned and can be executed when the corresponding outcomes occur.

Here's a summary of the steps you should take:

  1. Apply the patch to the SendHttpRequestActivityResolver as shown in your diff snippet.
  2. Rebuild your application with the patched version of SendHttpRequestActivityResolver.
  3. Test the workflow again to ensure that the Fault activity is now triggered when the FailedToConnect outcome occurs.

If you are not comfortable applying the patch yourself or if you encounter any issues, you may want to reach out to the Elsa Workflows community for further assistance or to check if there is an updated version of Elsa that includes the fix for this issue.

Please note that modifying the source code of a library can lead to maintenance challenges, so it's always best to check for official fixes or updates before applying custom patches.

This comment was generated by Glime.

from elsa-core.

jdevillard avatar jdevillard commented on August 24, 2024

Hello,

Thanks for this issue, I think you're right, would you like to create a PR to submit your change ?

from elsa-core.

cschulznethaus avatar cschulznethaus commented on August 24, 2024

Took me some time to get around to this, but I finally created the PR.

from elsa-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.