Comments (9)
Congrats, it sounds like you're doing some neat stuff.
You shouldn't have any issues connecting a data output to two data inputs. Perhaps the issue is that the scores output is already a list, so you can probably just connect scores directly without doing the list(scores=scores) transform.
We are considering changing the colours of the inputs/outputs depending on what data type a node is. This should make it easier in future to tell that the scores output is a list already.
Please let me know if it works so I can close this.
from concerto-platform.
I tried various things in the Questionnaire-scores to Save_data-new_data link :
- list(scores=scores)
- scores$profile = paste(ifelse(scores$IE < 0, "I", "E"), ifelse(scores$SN < 0, "S", "N"), ifelse(scores$FT < 0, "F", "T"), ifelse(scores$JP < 0, "J", "P"), sep="") [newline]
list(mbti=scores$profile) - scores=scores
I get no error (even in the javascript console in debug) but nothing get into the database.
from concerto-platform.
Here is my test flow to make it clear:
from concerto-platform.
Ah, the problem is that the save_data node needs to be part of the flow, otherwise it never gets called. So you'll need to connect the in/out connections - you can connect it between questionnaire_v2 and info_v2. So your execution flow will be:
- Run questionnaire
- Store results
- Show info page
from concerto-platform.
from concerto-platform.
With the following test flow, I get the scores saved correctly:
They nevertheless aren't passed along to the Info node. I tried to add a link between save_data/data_bank and info/inserts with various values without success.
How to pass scores from the save_data node to the info node?
from concerto-platform.
Make another connection from questionnaire_v2|scores to info_v2|inserts - i.e. you can use the same output data node twice.
from concerto-platform.
It works perfectely! Thank you David.
from concerto-platform.
Hello David,
Here is a tutorial I wrote based on what I learned from implementing this test flow:
I tried to create a pull request on the wiki repo (having added this new file on a new branch) but I obviously don't have the required rights to do so.
from concerto-platform.
Related Issues (20)
- Docker image health checks fail with the api disabled
- Input Port Tooltip Flickering and Impossible to Change Due To CSS
- Unsupported dependency versions
- [Error] Unable to create the "cache"
- Run docker container as a non-root user
- Importing tests leads to "Validation failed: There are already pending or ongoing scheduled tasks." HOT 1
- MGRM: Test problem encountered. Execution halted.
- How to expand p colum on Flat Table when response options are 5 option
- Redis integration not working as expected HOT 2
- API updating and inserting rows in data tables
- Cloudformation template concerto-ec2-basic-tls no longer provides lets encrypt certification HOT 1
- Checkbox type selection in which multiple buttons can be selected
- Unable to view structure of Data Tables with uppercase character in the name (PostgreSQL DB)
- Cannot run Concerto on MacOS Ventura
- "Error in user$id: $ operator is invalid for atomic vectors" when enabled [Resumable] in startSession Module.
- Issues uploading Flatitem file
- Ability to assign multiple traits to 1 item?
- Feedback after each question
- 500 Internal Server Error on Running a "show page"
- Concerto server login problem
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 concerto-platform.