Skip to content

afterCreate trigger condition not firing #3

Description

@epicdigitalmedia

New Issue Checklist

Issue Description

afterCreate trigger not firing

Steps to reproduce

Create ActionTrigger select "onCreate" as the Trigger

Actual Outcome

Action handler function is not called.

Expected Outcome

Action handler function should execute

Environment

Local

There are two ways to fire this:

In beforeSave:

request.object.isNew() will return true if object is new

In afterSave:

request.object === current object state
request.previous === previous value before save.

(request.object && request.previous === undefined) === is new object

I think this should happen in the afterSave so it can be executed async and not block the save response.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions