John Oleksowicz
4e82c5334b
Add ability to permanently delete workflow
...
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
Jan Jakes
7425c73d9e
Add error messages to action validation, use step validation args
...
[MAILPOET-4659]
2022-10-13 11:58:11 +02: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
18c4257f1f
Drop hasValues method
...
[MAILPOET-4673]
2022-10-12 10:24:58 +02:00
David Remer
368878c280
Simplify testItSeparatesWorkflowRunsCorrectly test
...
[MAILPOET-4673]
2022-10-12 10:24:58 +02:00
David Remer
86c3d14af4
Fix typo
...
[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
David Remer
64a8c3700c
Fix loading of WpUserSegment
...
[MAILPOET-4690]
2022-09-30 15:28:03 +02:00
Jan Jakes
02aaba1ded
Pass full step map to automation workflow so it can be validated
...
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
Jan Jakes
8c2377b0f9
Fix trigger tests for new data structures & simplify them
...
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
Jan Jakes
fe3d719a13
Use step run args in existing actions
...
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
Jan Jakes
00e8c4f3e5
Make steps specify required/provided subject keys
...
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
David Remer
a1775dd010
Delete user properly in multisite environment
...
[MAILPOET-4666]
2022-09-22 10:37:25 +02:00
David Remer
e1e5749eca
Change isTriggeredBy signature for clarity
...
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
40acca4cbe
Use correct doc type
...
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
b914a1d2ec
Rename SomeoneSubscribesTrigger key and class
...
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
c0e8a70f06
Turn no item selected to former 'any item' behavior
...
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
bb5da626ba
Add UserRegistrationTrigger
...
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
e2c9356f4c
Execute WorkflowRun only when trigger criteria are met
...
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
John Oleksowicz
7c3d3fbf12
Only allow storing scalar data
...
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
61504d65c0
Update tests to be compatible with new storage format
...
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
c828b7245d
Remove redundant step args from log
...
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
bf0f8a4dc5
Don't allow setting data that couldn't be retrieved
...
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
f126bdb2b9
Only allow a single error per log
...
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
8cbbe5aa6e
Use Throwable instead of \Exception
...
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
2c2f15a562
Use completedAt timestamp for success and failures
...
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
57cf547a8a
Only expose log in post-step hook
...
The log has step ID and workflow run ID in case an integration needs to
retrieve them.
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
6f8edfaec4
Make workflow run logs immutable
...
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
John Oleksowicz
cdeea173b9
Add logging of workflow steps
...
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
Jan Jakes
1677cc2842
Save and load workflows in the new format, update API
...
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
Rostislav Wolny
e32b06a5a8
Add data cleanup after SendEmailActionTest tests
...
[MAILPOET-4566]
2022-09-08 13:02:52 +02:00
Rostislav Wolny
99d4dfb558
Fix integration test to run without WooCommerce related test
...
SendEmailActionTest test was dependent on a cleanup
from a previous test, which was moved to the woo group.
[MAILPOET-4566]
2022-09-08 13:02:52 +02:00
David Remer
34d94edd3e
Add author to Workflow
...
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
24849afb7a
Make name a property of Step.args instead of Step
...
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
David Remer
33fb02e2ce
Add missing spaces and remove double spaces around "null,"
...
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
David Remer
d4bc448ac6
Add name property to Step
...
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
David Remer
293c1f4a46
Fix use statements in test
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
David Remer
7f78c387cf
Test WorkflowStorage
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
David Remer
02489a61a6
Add version_id to WorkflowRun
...
[MAILPOET-4430]
2022-08-10 16:57:25 +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
David Remer
83c7f7bc7f
Update configuration arguments and invalidate 2 years of waiting
...
[MAILPOET-4418]
2022-08-02 14:39:33 +02:00
Jan Jakes
d447702941
Convert welcome email action to a generic send email action
...
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
John Oleksowicz
250dd441b4
Add step based validations
...
[MAILPOET-4191]
2022-04-18 09:10:23 +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
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
d31671f6ea
Basic tests for welcome email action
...
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00