Jan Jakes
1f6ce667e5
Add schema definition for automation steps
...
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
ebe8d5d478
Add step interface as a parent of action and trigger
...
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
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
Jan Jakes
fbd27afedf
Move step runner interface to the control namespace
...
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
7da2d2f7c8
Add basic workflow step saving to workflow update API
...
[MAILPOET-4420]
2022-07-26 15:10:05 +02:00
alex-mailpoet
5ac27d125b
Add workflow name editing capability
...
[MAILPOET-4422]
2022-07-15 11:32:58 +02:00
Jan Jakes
da43849c30
Use more descriptive method name
...
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
Jan Jakes
3cccc52515
Require subjects by class name to have them type checked and autocompleted
...
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
Jan Jakes
841ee97203
Add require subject helper method
...
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
Jan Jakes
494cc7b780
Allow multiple subjects of the same type
...
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
Jan Jakes
5c87442c6b
Fix subject initialization in workflow runs
...
[MAILPOET-4454]
[MAILPOET-4449]
2022-07-04 14:09:00 +02:00
Jan Jakes
bb90ae97d0
Add basic workflow update controller with status change caps
...
[MAILPOET-4454]
2022-07-04 14:09:00 +02:00
alex-mailpoet
a1ddef0c99
Add ability to inject step runners
...
[PREMIUM-180]
2022-06-15 15:32:51 +02:00
alex-mailpoet
6d98a051a4
Add id parameter to workflow constructors
...
[PREMIUM-180]
2022-06-09 13:30:54 +02:00
John Oleksowicz
12b677ce5e
Change default workflow status to draft
...
MAILPOET-4264
2022-06-08 13:14:11 +02:00
John Oleksowicz
2bf59eab9a
Create templated workflows in draft status
...
MAILPOET-4264
2022-06-08 13:14:11 +02:00
John Oleksowicz
25b9f3a876
Create a workflow from a PHP template
...
MAILPOET-4264
2022-06-08 13:14:11 +02:00
Jan Jakes
1b46765f47
Fix workflow date loading
...
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
John Oleksowicz
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
John Oleksowicz
cbabaf9e4e
Idiomatic way of specifying mixed return type
...
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
c5065c0d8d
Remove unnecessary abstract class
...
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
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
John Oleksowicz
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
John Oleksowicz
2cce9bf7ad
An idea for splitting validation and running
...
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
b2f2f2665c
Add getValue method to Field
...
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
69b523171f
Initial stab at a welcome email action
...
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
9e4303e6f6
Fix updatedAt assignment
...
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
Jan Jakes
3a22521a55
Add json encode/decode wrapper class
...
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
Jan Jakes
716050b7de
Save subject data in workflow runs
...
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
Jan Jakes
50b889a1bd
Add workflow data subject & field interfaces
...
A subject contains multiple fields. Each field has a type and they
can be filtered and used later on.
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
Jan Jakes
97ad4cffb5
Add interface for workflow actions
...
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
Jan Jakes
ee6cdeceab
Add interface for workflow triggers
...
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
Jan Jakes
bc1b27a53b
Add workflow run data object
...
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
Jan Jakes
b742a394b2
Add workflow step data definition
...
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
Jan Jakes
3e6a4fd557
Add workflow data object and an empty step object
...
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00