Thomas Trompette
e9f277fe93
Add form select field ( #14538 )
...
- create a WorkflowFormFieldInput component that takes a fieldMetadataId
as input and display a form field input
- add a select field for forms
https://github.com/user-attachments/assets/42f8ce98-c17a-4809-b1be-032e3066a596
2025-09-16 14:26:36 +00:00
Thomas Trompette
231d1a98af
Allow to insert into loop step ids ( #14425 )
...
- Create empty node on iterator creation
- Add options on step creation to insert in loop
- Handle properly when a step is removed from loop
- Remove loopNextStepIds from frontend action
- Add a frontend skeleton for empty action
https://github.com/user-attachments/assets/281a8c15-8062-4702-afb4-0d9a50902252
2025-09-12 07:30:28 +00:00
github-actions[bot]
a4036e0370
i18n - translations ( #14417 )
...
Created by Github action
Co-authored-by: github-actions <github-actions@twenty.com >
2025-09-11 14:43:01 +02:00
Naifer
39326e6144
feat: add FormData, text, and none body types to HTTP request workflow ( #14055 )
...
This PR is a cleaned-up and improved version of #13982 , excluding file
uploads for FormData.
https://github.com/user-attachments/assets/a85546f6-4e3b-4654-a4ea-e76a11016b96
---------
Co-authored-by: Thomas Trompette <thomas.trompette@sfr.fr >
2025-09-11 14:32:19 +02:00
Thomas Trompette
d6ba6a66a4
Restrict workflow object permissions ( #14290 )
...
- workflows should not edit system objects or workflow related objects
- system fields should be usable within variables for reading
2025-09-04 10:39:51 +02:00
Abdul Rahman
79bcd90d8d
Feat: role applicability controls ( #14239 )
...
Closes [#1404 ](https://github.com/twentyhq/core-team-issues/issues/1404 )
---------
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-09-04 08:58:50 +05:30
Thomas Trompette
bcd5cf7f25
Add first frontend version for iterators ( #14213 )
...
Add a base for testing iterator step in frontend. Loop next step ids
need to be added to an input since the loop handle does not exist on the
step yet.
Here is an example of run:
<img width="1271" height="653" alt="Capture d’écran 2025-09-01 à 16 21
39"
src="https://github.com/user-attachments/assets/06ecf981-be17-4d31-84f6-11c2cc98cb66 "
/>
First create record in the loop name is `{{currentItem}} - first`, the
second is `{{currentItem}} - second`
<img width="276" height="326" alt="Capture d’écran 2025-09-01 à 16 22
25"
src="https://github.com/user-attachments/assets/0ae03b65-aeda-41a6-8693-c17711ec2102 "
/>
2025-09-01 16:46:33 +00:00
Abdul Rahman
3f7f78eef8
fix: workflow run page crash ( #14222 )
...
Closes [#292 ](https://github.com/twentyhq/private-issues/issues/292 )
Before:
https://github.com/user-attachments/assets/848df76f-c2fb-46c8-b70a-4ec990f2917c
After:
https://github.com/user-attachments/assets/60aa83b0-84ab-477c-ad79-b88a43ad7fa8
2025-09-01 18:29:29 +02:00
Abdul Rahman
9098df7ddf
Add preconfigured Workflow creation agent ( #13855 )
...
Co-authored-by: Félix Malfait <felix.malfait@gmail.com >
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-08-27 14:20:38 +02:00
Thomas Trompette
954da6da9d
Delete filter on branch deletion ( #13834 )
...
When the target is not in the direct next step ids of the source (step
or trigger), check if there is a filter between both. If yes, delete the
filter and remove it from source next step ids.
Also refactored the existing.
2025-08-12 12:30:08 +02:00
Félix Malfait
8b4b9ef8da
Change type import rule ( #13751 )
...
Forcing "type" to be explicit, works best will rollup on the frontend to
exclude depdendencies
2025-08-08 01:27:05 +02:00
martmull
01805cc71c
13227 workflow wrong completed workflowrun state when multiple branches ( #13344 )
2025-07-22 17:51:03 +02:00
martmull
47386e92a3
22 branches 3 ( #13181 )
...
This PR does not produce any functional changes for our users. It
prepares the branches for workflows by:
- decommissioning `output` and `context` fields or `workflowRun` records
and use newly created `state` field from front-end and back-end
- use `stepStatus` computed by `back-end` in `front-end`
- add utils and types in `twenty-shared/workflow` (not completed, a
follow-up is scheduled
https://github.com/twentyhq/core-team-issues/issues/1211 )
- add concurrency to `workflowQueue` message queue to avoid weird branch
execution when using forms in workflow branches
- add a WithLock decorator for better dev experience of
`CacheLockService.withLock` usage
Here is an example of such a workflow running (front branch display is
not yet done that's why it looks ugly) ->
https://discord.com/channels/1130383047699738754/1258024460238192691/1392897615171158098
2025-07-16 11:16:04 +02:00