Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Task completion through email

Avatar

Level 10

I am trying to complete the task within Task Notification email itself.

I configured the custom email template to have all the actions of the assigned task (displays as expected).

When the user clicks on any action link, it open email client with approriate action name and a digest code.

But after sending the email, the task still running (not completed after sending email).

PS: I unchecked the option 'user must open the form to complete the task'

Whats it default behaviour?

Nith

12 Replies

Avatar

Former Community Member

Hey Nith,

      I think the Completion task can be used to send across the notification for completion of task. The Action flag needs to be updated once the service action has reached to the final task. Although, this should have been updated once the Service orchestration is completed.

But, please check the Task Notification -> Completion Task. If you can add this task in the orchestration workflow, I think it should send across the completion flag update to the Service.

You need to capture the Task ID dynamically, probably if you can do that using XPath, UserID (who completes the task), mail from - from email address of the message, user - action - action being taken, Output - Outputstring to capture the String result returning from the service.

Let me know if it helps,

Cheers!!

Pushkar

Avatar

Level 10

Hi Pushkar,

"But, please check the Task Notification -> Completion Task."  What do you mean by this???

I don't find anything like Completion Task. And, what version are you talikng about? I don't see your answer relevent to my question because you are explaining about capturing the user details who completed the task, his email address etc.

I thought it is just a matter of sending email back to the server with Action Name and a message digest.

Nith

Avatar

Former Community Member

Hi Nith,

I had a similar issue, in which I wanted to get the Notification back to the server with Action Name and a message.. I included the completion task to send the notification. "The Complete Task service is part of the Task Notification service which was created by Adobe and is provided as a service within the Process Management solution component to allow email interaction to a process".

You can try using this service operation in ES1.

With ES2, this also exists.

Hence, just thought to share the experience, if it helps.

"For sending email back to the server with Action Name and a message digest"

you can refer this link:

http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/help.htm?content=000995.html

(Go to Require Confirmation when Submitting tasks)(sending reminders about tasks).

let me know if this helps.

Cheers!

Pushkar


Avatar

Former Community Member

Hi Nith

The Reply-To-Complete feature requires an email endpoint to be configured on the Complete Task process.

Do you have an email endpoint configured?

Diana

Avatar

Level 10

Thanks Diana,

I don't aware of this step. I will try to add an email endpoint and let you know th result.

Is this documented in help system?

@Pushkar: Now I understand the need for Complete Task process. Thanks.

Nith

Avatar

Former Community Member

Hi Nith

I've had a look through the documentation and I agree it needs to be a bit clearer on this issue.

There is one section on how to set up an email endpoint on the Complete Task that says:

"For Process Management ES2 to receive and handle incoming email messages from users, you need to create an email endpoint for the Complete Task service."

http://help.adobe.com/en_US/livecycle/9.0/adminHelp/admin.htm?content=000105.html

In general this is how LiveCycle handles email configuration...

A) LiveCycle Sends Email To Users. - To send email to users you need to specifiy smtp settings.

     - for task notifications, you specify the smtp information in the server settings page (and turn on notifications)

     - inside the process, you specify smtp settings in the email service

B) LiveCycle Receives Email From Users. - To receive email from users you need to specifiy pop3 settings in an email endpoint

     - for continuing workspace processes and Reply-To-Complete, you add an email endpoint to the Complete Task service

     - to start a process from email using a form, you add an email endpoint to that process

Diana

Avatar

Level 10

Thanks Diana,

I will try that .

Nith

Avatar

Level 4

Hi all,

Sorry to reply to a old topic.

I am trying to do similar things, but I am not clear about all the component I require to use so I would like to ask a few question:

As far as I know the flow is like below:

1) Process A will send out a custom email at the Assign Task Service(i.e. Task A)

2) User can reply to this email, and it will trigger a email end point

3) The email end point will trigger Process B

4) Process B will trigger Compete Task Service which in turn complete/update Task A of Process A

That's the understand of how this work out, correct me if I am wrong.

If I am correct, what I need to do is the following:

1) Make sure the custom email form address match the one setup in the email end point

2) Make sure the email contain the information for Compete Task Service in Process B to complete/update the task

3) Create/Setup Process B to retrieve data from the email and call the Compete Task Service

4) Setup email end point for Process B

I think I am fine with the email end point and the custom email, but I really have no idea how to call Compete Task Service and have no idea what it is able to do because I find no document or information about it.

Any information about the Compete Task Service will be more then welcome.

Thanks in advance

Regards

Bill

Avatar

Former Community Member

Hi Bill

Have a look at the following blog post: http://blogs.adobe.com/livecycle/?p=309

This post describes how to configure email for Process Management.

Diana

Avatar

Level 4

Hi Diana,

Thanks for the reply, that's help a lot.

That's confirmed that the CompleteTask service require the email attach a form.

And I think I am trying to implement the "Reply-to-Complete feature" (Which the email do not require to attach the form) you mentioned in the comment of the blog.

Would like to know are there any document/reference about this feature.

Thanks in advance.

Regards

Bill

Avatar

Level 4

Hi Jasmin,

Thanks! That's definitely help a lot.

Regards

Bill