Code Monkey home page Code Monkey logo

Comments (2)

glime-ai avatar glime-ai commented on June 28, 2024

To assist you with the issue where an activity is being called again after a loop break, I would need to see the actual workflow definition JSON or the code that defines the workflow. The images provided in the steps to reproduce do not give enough context to understand the exact problem or to provide a solution.

However, based on the information provided, it seems like there might be an issue with the way the loop and the subsequent activities are configured. If the Finish activity is being triggered after a Break activity within a loop, but the HttpRequest activity is still being called, it could indicate that the Break activity is not properly terminating the loop, or there might be another path in the workflow that leads to the HttpRequest activity being executed.

To troubleshoot this issue, please check the following:

  1. Ensure that the Break activity is correctly placed within the loop and that the condition for breaking out of the loop is being met.
  2. Verify that there are no additional transitions from other activities that could lead to the HttpRequest activity being called after the loop is supposed to be terminated.
  3. Review the workflow definition JSON to ensure that the activities and transitions are correctly defined.

If you can provide the workflow definition JSON or the code that defines the workflow, I can give you a more precise answer. Otherwise, you may need to debug the workflow execution to see why the HttpRequest activity is being called again.

This comment was generated by Glime.

from elsa-core.

Thuylinh28 avatar Thuylinh28 commented on June 28, 2024

this is my workflow
noti-expire-sla.json
and this is input :
{
"ListNoti": {
"TenantId": null,
"Id": "00000000-0000-0000-0000-000000000000",
"Case_Id": "91c67bd6-cad8-35c0-cf4a-3a133c61bf76",
"ParentId": "de93ffc3-741d-eb82-d524-3a128c8b78f6",
"ParentName": "SLA",
"Status": null,
"BoPhanName": null,
"Description": "sonlv có Ticket 24061800012 quá hạn SLA",
"NumberNotification": null,
"ConcurrencyStamp": null,
"NotificationId": null,
"Type": null,
"TypePersonReceiveNoti": null,
"CurrentLanguage": "vi",
"HandleUsername": "sonlv",
"IncidentCode": "24061800012"
},
"ParentName": "SLA",
"Type": "App",
"NumberNoti": "2",
"UrlAPP": "https://localhost:44380",
"TimeNoti": "10"
}

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.