Completing Task from other process

Avatar

Avatar

__VIKS__

Avatar

__VIKS__

__VIKS__

17-11-2010

Hi,

   I need to complete a Task assigned to User queue from other process. For example,

    I have a Workflow A which creates task and assigns it to user "xyz", this task can be completed in two ways,

       1) User xyz logs on to workspace and completes the task, normal straight forward way.

       2) A scanned document (.pdf) is copied to Watched Folder which kicks of another Workflow B, now this workflow B needs to complete the

        task which is currently assigned to user "xyz".  Any idea how?

   I need your help/advice on option 2.

Thanks,

Vik

View Entire Topic

Avatar

Avatar

parth_pandya

Avatar

parth_pandya

parth_pandya

21-11-2010

Hi Vik,

I think when the scanned document is dropped in the watched folder you will need the metadata put there as well. May be you can ask the file name to have blahblahblah_taskid.pdf as the naming convention or the xxxx.pdf and xxxx.txt files are dropped there and the .txt file has the task id and your watch folder is looking for .txt files as the trigger.

The other way I've solved similar problem is through email endpoint. Just before the task creation you can send an email with process id and other info in subject line. The user either completes the task via option a or he replies to the email with attachment. Then the email endpoint will pick up the email and you'll get the process id from subject which will allow you to find running task. Then after use the links that these guys posted to create the complete task call.

hope that helps.

cheers,

Parth Pandya

blog - http://blog.pandyaparth.com