AEM-Email Workflow Task Notification | Community
Skip to main content
Level 9
October 16, 2015
Solved

AEM-Email Workflow Task Notification

  • October 16, 2015
  • 13 replies
  • 5827 views

Hello,

I have managed to send an email via a workflow process step customized wherein the email is sent to his gmail account, but in addition to that would want a notification triggered to the user's inbox in AEM , but the moment he clicks on the link(link to a page) in his gmail account or his inbox, and navigates to the page,i would like to have the next step workflow displayed on the workflow tab and moment he says complete or approve i would want to erase the task from inbox.

Is there a way to

1) Trigger a task notification using java code to user's inbox in AEM, i don't see much references for the same, would appreciate if someone guides me through,

2) Once clicked on the link(link to a page in AEM,embedded in the email to his email account) or task notification in inbox, would want to have the next step displayed in workflow 

3)Would want to see an approve or reject in the workflow tab in sidekick.

Appreciate kind help.

Regards,

Nicole

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

Generally speaking user choose notification based on his interest & event.  However you are forcing user to subscribe.   Mean to say I do not understand your usecase. However I am throwing hackaround which you can try

1)    AFAIK there is no api.  However as a workaround add workflow step to create a node with all the required properties under user home directory. Ex:- /home/users/a/admin/wcm/notification/inbox  Then it should appear in inbox.

2)     If the payload still in workflow it will show the next task.

13 replies

Level 9
October 16, 2015

Thanks Sham, managed to sort out majority of issues with workflow.

I have the below notification email being sent across on node transition, is it possible to alter the hostname and port in the node transition notification email being sent across?

-------------------------------------------------------------------------------------
 Time: Wed Oct 02 14:11:32 EDT 2013
 Step: Review
 User: XXXX  (XXX)
 Workflow: Email Workflow
 -------------------------------------------------------------------------------------

Page: http://localhost:4502/content/campaigns/geometrixx/scott-recommends.html

 -------------------------------------------------------------------------------------
 View the overview in your http://localhost:4502/inbox
 -------------------------------------------------------------------------------------
 This is an automatically generated message. Please do not reply.

Level 9
October 16, 2015

Fixed it , will update with progress .

Level 9
October 16, 2015

As per snapshot attached ,would like to step back from Reject to Review Content Participant step, Is it possible?  If not, is it possible to have the reject step do nothing and still have the task in user's inbox in AEM instance, more like "Cancel"(do nothing, and retain task in AEM instance inbox)

Is it possible at participant step to programmatically disable task notifications/node transition email to user's private mail box still retaining task notification in AEM inbox?

Please let me know. Suggestions are welcome.

Regards,