d1fddb85f7
Add before step save hook per step key to simplify usage
...
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
1f6ce667e5
Add schema definition for automation steps
...
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
4389d3ca5f
Sync automation email step settings to newsletter entity
...
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
4aa323b612
Extract data-carrying classes to dedicated namespace
...
We need a separation of "Step" as an interface vs. "Step" as a serializable data structure.
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
da43849c30
Use more descriptive method name
...
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
d447702941
Convert welcome email action to a generic send email action
...
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
578fa65122
Simplify fetching data from subjects
...
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
3cccc52515
Require subjects by class name to have them type checked and autocompleted
...
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
841ee97203
Add require subject helper method
...
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
494cc7b780
Allow multiple subjects of the same type
...
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
f032bedffe
Move private method after public methods
...
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
ff8a2926a8
Avoid unnecessary duplicate call
...
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
250dd441b4
Add step based validations
...
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
da144a3778
Include all possibilities for validation
...
Although not required at the moment, validation could certainly involve
the current step as well as the workflow itself.
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
7ec1bcccc4
Alphabetize dependencies
...
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
78352d410d
Keep subject entities private
...
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
253a32413c
Add exception messages
...
I'm leaving these strings untranslated for now because I'm not sure that
we'll want all of them as-is, and I don't want to have our translators
translate strings we might not even need.
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
5227481a42
Revert to a simpler approach
...
Having separate objects for validation results is unnecessary and overly
complicated at this point, and we should wait to introduce that kind of
complexity only when/if it's clearly needed.
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
d6895ebbc2
More efficient method for checking segment status
...
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
954b23d151
State-independent validation
...
We need to be able to validate an action in a workflow in the UI,
outside the context of a specific workflow run, so the validation can't
check things like the specific entities loaded in a subject.
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
2cce9bf7ad
An idea for splitting validation and running
...
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
66564d3b7d
Refactor action to use subjects directly
...
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
b2f2f2665c
Add getValue method to Field
...
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
69b523171f
Initial stab at a welcome email action
...
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00