David Remer
fa73c3bc26
Order subjects by automation_run_id and id
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
2187f4a2d0
Use DISTINCT in count method
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
b5eaf6d115
Rename hash method to getHash
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
6012a139cb
Improve name of counting method
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
c68fc1378c
Improve name of "run only once" meta
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
cf6f4f204d
Use array_values for filtered subjects
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
da5f5b0b90
Improve formatting
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
1db97d2301
Simplify getting run ids
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
936de6ec30
Prevent calling toArray() twice
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
1b17c04301
Update templates to run only once
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
fcf6e738c7
Interrupt automation run creation if a run already exists and only_once setting is set
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
9e016bfc07
Add hash to Subject
...
The hash gives us a new column in our table, which we can
use to query a specific combination of args and key more
efficient
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
c4faa53386
Store run subjects in extra table
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
Rostislav Wolny
03d7306611
Add check from automation flows with welcome emails
...
This commit improves the check that a user has set a welcome email campaign (a task in product discovery task list)
by checking also for automation flows that are triggered by new subscriber or user and contain
send email action.
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
David Remer
1b9eb223b0
Load templates late
...
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
Jan Jakes
c46c61a923
Simplify and optimize automation stats
...
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
Jan Jakes
1136431551
Use $wpdb->prepare() for automation stats
...
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
Jan Jakes
957be23212
Improve query formatting
...
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
Jan Jakes
91a88b3e91
Rename alias "w" to "a"
...
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
Jan Jakes
9d55d3f134
Use "automation" instead of "workflow"
...
[MAILPOET-4793]
2022-11-14 12:14:35 +02:00
David Remer
63cd326191
Update template descriptions
...
[MAILPOET-4745]
2022-11-09 15:24:50 +03:00
David Remer
c239566e1e
Add premium and coming-soon template stubs
...
[MAILPOET-4745]
2022-11-09 15:24:50 +03:00
David Remer
4977b7ffa2
Add free templates
...
[MAILPOET-4745]
2022-11-09 15:24:50 +03:00
Jan Jakes
a2c5420d7f
Save updated at timestamp in workflow runs
...
[MAILPOET-4787]
2022-11-08 22:55:57 +02:00
Jan Jakes
c6d3573652
Save next step ID to workflow runs
...
[MAILPOET-4787]
2022-11-08 22:55:57 +02:00
Jan Jakes
c0ce5944dc
Use short table aliases
...
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
Jan Jakes
467f354eb1
Do not skip workflow trigger queries when trigger keys are empty
...
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
Jan Jakes
3f016b45f9
Don't escape table names when not needed
...
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
Jan Jakes
679f74e498
Unify query error checking
...
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
Jan Jakes
08b314e0b4
Unify table variable naming
...
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
Jan Jakes
cc5959805b
Use "workflow_triggers" table instead of an inline JSON
...
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
David Remer
9773408c8b
Add getCountForWorkflow method to return how many runs exist for specific status
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
098aebfaf9
Add truncate() method to WorkflowRunLogStorage
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
2c57251bae
Revert e8cfb2565
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
9bdb32c073
Verify deactivating workflow gets inactive after last workflow run
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
57548b579f
Add method to fetch all runs of a workflow
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
7aa1a5f4ba
Enable setStatus to handle multiple WorkflowRuns at the same time
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
6235944442
Fix bug where an empty array would generate a malformed SQL query
...
[MAILPOET-4732]
2022-10-19 13:34:45 +02:00
Jan Jakes
efd32043e3
Add workflow count to automation listing page
...
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
89c43a5cb9
Extract workflow duplication logic to a controller, fix some issues
...
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
John Oleksowicz
6158f5a64b
Prevent duplicates from having too-long names
...
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
John Oleksowicz
169b6c4151
Ensure createWorkflow never attempts to use ID
...
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
John Oleksowicz
4e82c5334b
Add ability to permanently delete workflow
...
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
John Oleksowicz
a4c8caa664
Add basic duplication ability
...
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
David Remer
0679658d33
Rename WorkflowStorage::flush() to WorkflowStorage::truncate()
...
[MAILPOET-4531]
2022-10-13 13:01:10 +03:00
David Remer
3aa0d0b910
Add flush method to WorkflowStorage
...
[MAILPOET-4531]
2022-10-13 13:01:10 +03:00
Jan Jakes
a2948efc46
Rename namespace with defs for 3rd-party integrations to "Integration"
...
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
David Remer
d077370086
Perform only one SQL query for the statistics
...
[MAILPOET-4673]
2022-10-12 10:24:58 +02:00
David Remer
52dcba8493
Introduce WorkflowStatistics entity
...
[MAILPOET-4673]
2022-10-12 10:24:58 +02:00
Jan Jakes
757f1dc01a
Use subject data type for workflow runs, remove subject loading from storage
...
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00