Expand my Community achievements bar.

Usage of a reminder in an "Assign Task" from UserService

Avatar

Level 2

I'm developping a new workflow using some "Assign Task".

On one of those tasks, I want to use a reminder, which will send as an email, using a custom template.

I want to put in the subject of the email reminder the reminder count, i.e. "Reminder n°1", "Reminder n°2", etc...

But I can't find any  element that mapped this count.

Is it possible? If yes, how?

1 Reply

Avatar

Level 8

I haven't tried this but it will probably work.

  1. Add a gateway to the process and add 2 branches.
  2. In the first branch, add the Assign Task opertation.
  3. In the second branch, add a recieve of the TaskReminderSent event. Filter on the ID of the current process instance. (/process_data/id)
  4. After the event receive, add a Set Value that increments the value of an integer value. Draw a route from this operation back to the event recieve to create a loop. The Set value will incremement the integer every time the TaskReminderSent event occurs.
  5. In the properties of the Assign Task operation, in the custom email template for the reminder, use an xpath expression that evaluates to the integer that is incremented by the set value. You'll probably have to use a value of the integer plus one, because of the timing of the event and the email.

Some references to the help:

Gateways: http://livedocs.adobe.com/livecycle/8.2/wb_help/000117.html

Overview of events: http://livedocs.adobe.com/livecycle/8.2/wb_help/000108.html

How to add event receives: http://livedocs.adobe.com/livecycle/8.2/wb_help/000159.html

Hope that helps

scott