Git Product home page Git Product logo

Comments (6)

JingxuanDinga avatar JingxuanDinga commented on May 25, 2024 1

Hi @JingxuanDinga That would be better asked in the StackStorm Forum. But if you mean execute from a StackStorm python-runner class then a similar thread on that question can be found here:
https://forum.stackstorm.com/t/invoke-an-action-from-a-python-action-script/24
and if it is a standalone python script, then you could get your python script to use the StackStorm REST API to execute an action - see https://docs.stackstorm.com/reference/api.html

That's what I want!! Thank you again!!

from orquesta.

amanda11 avatar amanda11 commented on May 25, 2024

Please could you give further details and an example that fails, and exactly what happened, so that this can be investigated?

from orquesta.

JingxuanDinga avatar JingxuanDinga commented on May 25, 2024

from orquesta.

amanda11 avatar amanda11 commented on May 25, 2024

join is designed to join together branches that have run in parallel, in your example above you would never enter more than one of those branches, so there is nothing to join - and the join would in affect not be needed, and those branches could just have a next transition to take them to task4.

(If you could reformat it would make it easier to see).

In your real-life cases could multiple of your conditions be true, and so the paths run in parallel? And if they run in parallel, is the situation that not all of them would necessarily be run?

from orquesta.

JingxuanDinga avatar JingxuanDinga commented on May 25, 2024

join is designed to join together branches that have run in parallel, in your example above you would never enter more than one of those branches, so there is nothing to join - and the join would in affect not be needed, and those branches could just have a next transition to take them to task4.

(If you could reformat it would make it easier to see).

In your real-life cases could multiple of your conditions be true, and so the paths run in parallel? And if they run in parallel, is the situation that not all of them would necessarily be run?

Thank you very much.

I have another question:
If I want to execute an Action in a Python script, is there any method?

from orquesta.

amanda11 avatar amanda11 commented on May 25, 2024

Hi @JingxuanDinga That would be better asked in the StackStorm Forum. But if you mean execute from a StackStorm python-runner class then a similar thread on that question can be found here:
https://forum.stackstorm.com/t/invoke-an-action-from-a-python-action-script/24
and if it is a standalone python script, then you could get your python script to use the StackStorm REST API to execute an action - see https://docs.stackstorm.com/reference/api.html

from orquesta.

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.