David Remer
b303111d3d
Add Automation to AUTOMATION_STEP_BEFORE_SAVE action
...
[MAILPOET-4999]
2023-04-17 13:59:39 +02:00
David Remer
9738bd3ecd
Introduce general step error
...
[MAILPOET-4935]
2023-03-30 12:21:25 +02:00
David Remer
328b5b1475
Remove private getSubjectKeysForSingleKey method
...
[MAILPOET-4935]
2023-03-30 12:21:25 +02:00
David Remer
e2777aebc3
Use plural for array of subject transformers
...
[MAILPOET-4935]
2023-03-30 12:21:25 +02:00
David Remer
19b5abc171
Use array_keys $all to get the keys
...
[MAILPOET-4935]
2023-03-30 12:21:25 +02:00
David Remer
d6760cb113
Use array
...
[MAILPOET-4935]
2023-03-30 12:21:25 +02:00
David Remer
8cf48d2707
Simplify SubjectTransformer
...
[MAILPOET-4935]
2023-03-30 12:21:25 +02:00
David Remer
68f09b6bd1
Prevent infinite loop when a subject from the trigger is missing
...
Given the trigger provides two subjects but only one subject was given via parameter and no
transformer was able to generate the second from the first, this method runs into an
infinite loop. This commit prevents this infinite loop.
[MAILPOET-4935]
2023-03-30 12:21:25 +02:00
David Remer
b5a846327a
Remove SubjectTransformerHandler from StepHandler
...
All subjects are created and persisted during AutomationRun creation. Therefore, the required
subject must exist when searching for it in the StepHandler. This commit reverses the last
changes and updates the test.
[MAILPOET-4935]
2023-03-30 12:21:25 +02:00
David Remer
d365be2334
Persist all possible subject on run creation
...
[MAILPOET-4935]
2023-03-30 12:21:25 +02:00
David Remer
c968b03ca7
Provide all possible subjects for a trigger to the UI
...
[MAILPOET-4935]
2023-03-30 12:21:25 +02:00
David Remer
5328213d85
Introduce subject transformation
...
[MAILPOET-4935]
2023-03-30 12:21:25 +02:00
David Remer
fa73c3bc26
Order subjects by automation_run_id and id
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
286cd94135
Remove subject_keys from Step definition and load information from registry
...
[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
1ddf69b490
Move delete metas in if clause
...
[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
a96d2388f4
Use serialize for the hash generation
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
dd3b37aba8
Improve names for all meta methods
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
8d41b5521c
Fix typo
...
[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
7210fad0e1
Add subject_keys to Step definition
...
[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
2d709b6249
Extend AutomationPutEndpoint to receive meta data
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
0d888ce8e4
Make meta data available in editor
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
48e2c5f945
Add filter to decide whether an automation run should be created
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
8cfb93a3b6
Add meta data to Automation
...
[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
Jan Jakes
6b7ffbc4ad
Allow plugins to add their own context data for automation editor
...
[PREMIUM-215]
2023-01-26 14:12:22 +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
b25f2cd5f4
Enable a Trigger to activate a second automation
...
[MAILPOET-4842]
2022-11-28 13:03:06 +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
2e328b6d7f
Move temporary automation migrator to a new migration
...
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
Jan Jakes
8489e63d34
Delete automation testing system endpoints
...
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
Jan Jakes
9063dc3079
Remove duplicities in naming
...
[MAILPOET-4793]
2022-11-14 12:14:35 +02:00
Jan Jakes
9d55d3f134
Use "automation" instead of "workflow"
...
[MAILPOET-4793]
2022-11-14 12:14:35 +02:00
Jan Jakes
bda979ec4f
Fix trash error when workflow status is draft
...
[MAILPOET-4792]
2022-11-09 19:58:44 +03: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