Comments (4)
Summary I would like to request a feature that allows workflows to directly access and utilize the organization name associated with the repository or workflow context. This feature would significantly enhance automation capabilities by enabling more personalized and context-aware workflow actions.
Use Case In many automation scenarios, particularly in multi-organization setups or enterprise environments, workflows need to behave differently based on the organization context. For example, notifications, deployment strategies, or access controls might vary from one organization to another. Direct access to the organization name within the workflow would allow for dynamic adjustments and more intelligent automation logic.
Potential Benefits Enhanced personalization for automated messages or notifications sent from workflows. Improved control and differentiation in multi-organization environments, allowing workflows to adapt based on the organization context. Increased efficiency in workflow design by reducing the need for external scripts or API calls to fetch organization information.
I believe this feature would be a valuable addition for many users and look forward to seeing its potential implementations. Thank you for considering this request.
Heyo!
Great suggestion, and this is already supported using the built in utility functions that you can access with Python (or liquid python inline anywhere).
With liquid it would look something like this (you can put this ANYWHERE). Add ["name"] on the end to get the name instead of all the org info.
{% python %}self.full_execution["workflow"]["executing_org"]{% endpython %}
Tell me how it goes :)
from shuffle.
Hi frikky,
Thanks for getting back to me! Your fix does the trick for the main workflows, but it seems like it doesn't quite cut it for the subflows.
Regards,
from shuffle.
Hi frikky,
Thanks for getting back to me! Your fix does the trick for the main workflows, but it seems like it doesn't quite cut it for the subflows.
Regards,
ooh, don't subflows have executing org set? fascinating bug in that case
from shuffle.
Made a quickfix. Will be available in the next nightly release of the backend (next few days sometime) to also work for subflows. Here's the full command I tested with.
{% python %} print(self.full_execution["workflow"]["execution_org"]["name"]) {% endpython %}
from shuffle.
Related Issues (20)
- Duplicating a node with a trigger source (webhook/schedule) adds a line to it HOT 1
- App creator not handling multipart/form-data content-type
- Workflows stuck on "EXECUTING" status and not able to execute API individually HOT 1
- Suborg Environment replication is wrong
- Make subflows capable of choosing authentication during start of subflow HOT 1
- shuffle workflow in executing state and pods are in error state HOT 5
- Make $exec have more usable triggers in the SDK
- HTTP ConnectionPool timeout HOT 4
- TheHive case creation error HOT 1
- Schedule starter can not stop. HOT 3
- CaseException - Case Create Error
- how to change the dark theme to the light one ? HOT 1
- Scheduler does not stop after stopping HOT 2
- User input trigger not working on-premise HOT 2
- Make Modals change z-index and focus according to the last one used
- Reloading Issue due to enter key press on search bar
- Add an automatic Oauth2 permission handler
- Unnecessary API calls to algolia HOT 2
- webhook is not working into wazuh integrartion workflow
- Workflow state not checked when a user returns to a browser sessiong
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shuffle.