Questions tagged [directus-flows]
10 questions
3
votes
0 answers
Directus | Validation for related field are not working
When we configure the validation for child data model from parent data model using validation tab and then its not working in latest version ( 9.21.2), but it was working in old version like 9.10.0
I have created two entity such as Parent and…

Ananth
- 1,520
- 3
- 15
- 28
2
votes
1 answer
How to give validation to a date time field in Directus
I have a DateTime field in my table named as "scheduled_at". I want give validation to this date time field where the value should be greater that or equal to now.
I have tried applying filters to this field with values 'scheduled_at' Greater than…

Suthesh M
- 21
- 2
2
votes
2 answers
How to use Directus flows to copy a value from one column to another on creation
In directus I am creating records where one column is a float that contains negative numbers.
On creation of a record I would like to copy the absolute value of this column to another column in the same collection automatically.
Example: After…

bcsta
- 1,963
- 3
- 22
- 61
1
vote
0 answers
How to trigger mail from email directus schedule cron job in hooks- directus-9.24
In Hooks we have the option to run scheduled cron jobs, so I want to use mail services here, how to get the mailService here?
tried to pass the mail service I schedule parameter is not taking, so I don't know where I need to get the mail…

Suresh Madhaiyan
- 61
- 6
1
vote
0 answers
In Directus Flow to Read-Data Operation: how to extract the month of now$ in a filter
Use Case:
I have a collection with consulant with a field birhdate.
Now I want to create a flow to read all consultant who have birthday this month.
{
"collection": "Consultant",
"query": {
"filter": {
"month(birthdate)": {
…

Peter Stampfli
- 11
- 1
1
vote
0 answers
How add in CC email in flows email node, i can see only To?
How trying trigger email from flows, i can add see TO input field and i can add only in To, but i wants to add** CC,BCC also**, can anyone solve this? using linux , Directus version: 9.24.0, postgresql, directus studio app,Firefox browser

Suresh Madhaiyan
- 61
- 6
1
vote
2 answers
Directus Flow: Run custom function within a Flow
Good day everyone,
I am using the Docker version of Directus.
I have the following Flow:
- Cron Job > Read Data > Run Script
But I want to "Run Function" instead as "Run script" is limited and cannot "import" nor "require" external libraries on…

Viktor H. Morales
- 21
- 4
1
vote
1 answer
Directus | Flows are not updating the Revision while creating a collection
I'm using Directus lastest version 9..
I have created a Data Model "Article" with title and Random_order field.
I have created a directus flow, which will update a random number into the field "Random order".
The feature is working fine…

Ananth
- 1,520
- 3
- 15
- 28
1
vote
1 answer
Directus | Option to maintain a default columns in list view of Entity
In Directus, while adding data to Entity( example: Template ), We have a list view, in which we can view the list of templates in table view.
There is an option to add columns in the list view, but this columns are currently added to table by…

Ananth
- 1,520
- 3
- 15
- 28
0
votes
1 answer
How to all field value pass in payload when record update in direct us
i want to all data pass in payload when data update in direct us.
Example: When i data update any record . i am gettting only that data which is update.
but i need to all field. in payload flows .
I need flow in all field . You can see the…

Champak Chopda
- 1
- 1