Comments (4)
I am not able to get any parameters/variables into the workflow execution as stated in the documentation. The URL in the documentation is:
chrome-chrome-extension://infppggnoaenmfagbfknfkancpbljcca/execute.html#/workfloId?variableA=value&variableB=10
Issues:
- the "chrome-chrome-extension" schema should only be "chome-extension"
- any kind of "variable..." parameter to the url does not appear in the workflow logs
Can you improve the documentation and check how to setup the parameter/variable injection?
from automa.
I am in the same position, has anyone figured this out?
I tried many methods (as outlined here: https://docs.automa.site/workflow/variables.html).
I've tried: {{variables.myVar}}
, $$myVar
, and a few more- none work. Please help
from automa.
I've found the problem, code needs to be updated. I tried opening a PR, but when pushing it says Permission to AutomaApp/automa.git denied
The issue:
Here, you are not correctly passing the search params from the URL:
https://github.com/AutomaApp/automa/commit/5f1caf11735e2b0c55c6418918a3932e900451b2#diff-411f1a3a9aae65d635492a191d9577c3fd8fdeeb0a7726f050ad04d1c65e3453R13
Rather than doing this:
searchParams.forEach((key, value) => {
variables[key] = decodeURIComponent(value);
});
return { workflowId: workflowId ?? '', variables };
You can just do this:
const variables = Object.fromEntries(searchParams);
...
return { workflowId: workflowId ?? '', variables };
from automa.
Fixed in v1.28.27
from automa.
Related Issues (20)
- automa's inserted property 'data-atm-ext-installed' to the body causes an SSR error
- The idea of replacing codemirror with MonacoEditor HOT 1
- Automa Cannot be accessed, maybe the server is again error., Automa ceb cannot be accessed. Please fix it. 🙏 HOT 3
- Import data from local file not working on Firefox
- Allow Automa JavaScript Blocks To Access Chrome APIs
- Please allow input/output connectors to be placed anywhere on the boxes.
- A couple of feedbacks on the current interface HOT 1
- Need help with dropdown allowing multiple selections
- How do I insert a variable (e.g. date/loop number) in the filename of a screenshot? HOT 1
- Host Updating is not working
- Enhance Workflow Flexibility with Dropdown Selections in Trigger Parameters
- Can't Pass CloudFlare's Human Click Test
- I can't find where to edit or delete time intervals when scheduling
- I want to use JavaScript code to trigger a workflow and populate the required variables, it triggers the workflow but still pops up a window requiring me to manually fill in the variables! HOT 2
- The images in doc site are down
- Is it possible to move the dashboard to the sidebar panel?
- how to access workflow trigger variable?
- Support for showing context menu on specific webpage
- extension builder can not run js code automaFetch and error HOT 3
- Pagination become hidden reaching the last page of the storage table
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 automa.