LiveCycle LifeLine Weblog

Entries from April 2008

Complete Task using Watched Folder

April 22, 2008 · 6 Comments

LiveCycle ES has a complete Task service which lets you complete a task using email. Apparently that is not enough,some of you have asked how do you complete a task using watchedFolder?. Well I have a solution for that. I created a new process by copying the existing CompleteTask process. Then I added exportData service operation from the formdataIntegration component, to the process.Deleted the processEmailMapSubmit step of the process.Made the exportData service operation as the first step of the process.Added/changed the following process variable

inDoc – Type Document – Input – This variable holds the PDFFile which is dropped in the WatchedFolder

attachmentMap – Map of documents This was marked as input in the original process,It no longer needs to be marked as input for this process

mailFrom – deleted this process variable

Save the process,create a WatchedFolder for the process.Take a form offline from workspace fill out the form and drop it in to the watchedFolder.

The process gets invoked,the exportFormdata operation extracts the xmldata from the pdf, the map xml data step extracts the process data from the xml data,complete task operation completes the task for the the given task id.

Below is the link to the pdf which has process as its file attachments
Click here to get the PDF which has the process files

Categories: Uncategorized
Tagged: ,

Getting attachments out of a task

April 21, 2008 · 18 Comments

I have seen a number of requests on how to get the attachments out of a task before the task is assigned to a user and how to add attachments to a task. Well your wait is over, I have the pleasure of introducing TaskAttachments custom component, which does exactly what you have asked for- Add attachments to a task, and gets task attachments .

I have written a simple process using the custom component. I created a process which triggers every time an attachment is added to a task(in workspace in the attachment tab). In this process, I get the taskID of the task,and pass it to (more…)

Categories: Uncategorized
Tagged: , , ,