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 com.day.cq.mailer.MessageGateway instance is used. For information, see Interface MessageGateway.

To read this development article, click http://helpx.adobe.com/experience-manager/using/creating-custom-aem-workflow-steps.html.

To watch the video, click:





Adobe Digital Marketing Community

Join the Adobe Digital Marketing Community. Start by clicking this banner

About the Author


I (Scott Macdonald) am a Senior Digital Marketing Community Manager at Adobe Systems with over 16 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.

Linked Inhttp://www.linkedin.com/in/scottmacdonald2010
TwitterFollow the Digital Marketing Customer Care team on Twitter @AdobeMktgCare.

8 comments:

  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.
    Regards

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

    ReplyDelete
  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

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

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

    ReplyDelete
    Replies
    1. I am glad that you got it working.

      Delete
    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

      Delete
    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

      Delete