-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
101 featch available variables from previous steps #8062
101 featch available variables from previous steps #8062
Conversation
37c2513
to
c483f4c
Compare
c483f4c
to
f89eee1
Compare
8a8e8ef
to
450a397
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work 💪
Overall I wonder if we will not trigger too many calculation. The user may be playing with different nodes and we should not always generate the output schema. I start to wonder if we should not use a button to generate variables as ActivePieces and Windmill do...
packages/twenty-front/src/modules/workflow/hooks/useAvailableVariablesInWorkflowStep.ts
Show resolved
Hide resolved
packages/twenty-front/src/modules/workflow/hooks/useAvailableVariablesInWorkflowStep.ts
Show resolved
Hide resolved
...enty-server/src/engine/core-modules/event-emitter/utils/generate-fake-object-record-event.ts
Show resolved
Hide resolved
packages/twenty-server/src/engine/core-modules/workflow/resolvers/workflow.resolver.ts
Outdated
Show resolved
Hide resolved
@thomtrp I agree with your concern, think we can try like this and update the behavior in a future PR if necessary |
642b6b6
to
f156c1a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok so comments that will remain open:
- build available variables schema should be done on backend side
- computing step output schema should not happen on any update
Let's fix remaining comments and move on. We will test the feature like this and we will discuss with product how we can get a more efficient behavior in UI.
...enty-server/src/engine/core-modules/event-emitter/utils/generate-fake-object-record-event.ts
Show resolved
Hide resolved
packages/twenty-server/src/engine/core-modules/workflow/services/workflow.service.ts
Outdated
Show resolved
Hide resolved
packages/twenty-server/src/engine/core-modules/workflow/resolvers/workflow.resolver.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work 🔥
Great job, @martmull! Your work is fantastic. |
demo.mov