Friday 22 June 2018

Invoking an Adobe Experience Manager Custom 6.4 Workflow from a web page

You can develop an Adobe Experience Manager workflow and invoke that workflow from an Experience Manager web page. That is, you can specify information required by the workflow such as the payload (for example, a digital asset) and invoke the workflow from a page within an Experience Manager site.

In this example, assume that the use case is as follows:
  • Invoke a Servlet from a web page by clicking a button 
  • Pass an asset location (payload) and email address 
  • Invoke the Workflow from an AEM Servlet by using the Workflow API 
  • The Workflow lets a user either approve or deny the asset
  • An OR Split step is used within the  workflow and routes to different branches
  • If approved, a property on the asset is modified and an email is sent to a email recipient. 
  • If not approved, the asset is not modified and a log messaged is created 
 The following illustration shows the workflow with the OR Split step that is required to approve an asset payload.



The following video shows this use case in action. 





Join the Experience League

To become an Experience Business, you need more than just great tools and online help. You need a partner. Experience League is a new enablement program with guided learning to help you get the most out of Adobe Experience Cloud. With training materials, one-to-one expert support, and a thriving community of fellow professionals, Experience League is a comprehensive program designed to help you become your best.

Join the Adobe Experience League by clicking this banner.




I (Scott Macdonald) am a Senior Experience League 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 AEM or other end to end articles like this, then leave a comment and let me know what content you would like to see.

Linked In: http://www.linkedin.com/in/scottmacdonald2010

YouTube: Subscribe to the AEM Community Channel.