This project is read-only.

Orchard 1.7.1 and Mail Activity in Workflow

Topics: Administration
Nov 3, 2013 at 4:15 AM
I've got a pretty simple custom contact form. I've got a workflow that triggers on content item creation (my contact form's content type), that has a mail sending activity.

The mail sending activity is configured with tokens for the fields from my content type, but all I ever receive or blank emails. I reported this in Orchard 1.7, and was told this was a known bug and was fixed in 1.7.1. I'm now running 1.7.1. Anyone have any ideas? Anything to check?
Nov 3, 2013 at 9:33 AM
You can use form submitted event instead of content created.

Marked as answer by brporter on 11/3/2013 at 2:49 PM
Nov 3, 2013 at 4:07 PM
Edited Nov 3, 2013 at 4:08 PM
Interesting! Why does content creation not work? Is the content not in a state to be read when that event is triggered?

Curious about the internals here.
Nov 3, 2013 at 5:39 PM
Yes, the data is not persisted yet, AFAIK. I heard that in DOJO course videos, I don't know more about the internals. It also says, before the new form submitted event (1.7.1 I guess), the hack was to use a timer activity to cause a delay before sending the email.