Thursday, 3 October 2013

Creating custom AEM workflow steps that send email messages

You can develop a custom Adobe Experience Manager workflow step that sends email messages to users within a workflow. A custom workflow step is implemented as an OSGi bundle that you can build using Maven and the AEM Workflow APIs that belong to the com.adobe.granite.workflow.exec package. For information, see Package com.adobe.granite.workflow.exec.

A custom AEM workflow step

Once you create and deploy the custom step, you can use it to send email messages to users within an AEM workflow. To send email messages, a instance is used. For information, see Interface MessageGateway.

To read this development article, click

To watch the video, click:

Join the Adobe Experience Cloud Community 

Join the Adobe Experience Cloud Community by clicking this banner

I (Scott Macdonald) am a Senior Digital Marketing Community Manager at Adobe Systems with 20 years in the high tech industry. I am also a programmer with knowledge in Java, JavaScript, C#,C++, HTML, XML and ActionScript. If  you would like to see more CQ or other Adobe Digital Marketing end to end articles like this, then leave a comment and let me know what content you would like to see.

TwitterFollow the Digital Marketing Customer Care team on Twitter @AdobeExpCare.

YouTube: Subscribe to the AEM Community Channel


  1. Hi
    This is really informative. THanks a lot for sharing. Could you please also shed some light on how to POST data from site catalyst to a CQ page.

  2. Very good articles, it will really help to build custom workflow.

  3. Hello,
    I am implementing a custom workflow in AEM 5.6.1 in my bundle I mentioned this property @Property(name = "process.label", value = "Test Email Workflow Process") }) but still I am unable to find this value in workflow process step dialog

  4. Do you have the bundle in an active state?

  5. My mistake I have to Configure Day CQ Mail Service before creating workflow it is working fine now

    1. I am glad that you got it working.

    2. Hello Scott,
      I am trying to change the cq default user password based on log in and generate an email automatically for change password confirmation using workflows can you suggest me any idea
      Thanks in Advance

    3. actually I got password change and email notification on local machine but when I move my code to client machine the workflow is not getting completed it is in running status and I am not able to find any errors in log file