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

22-11-2010

Hi Vikram,

I think you are looking at creating either a custom DSC or writting the logic in script component.

The LiveCycle api references given in this thread will help you to write this logic.

When the task is assigned to a user you should only complete it with the custom dsc or script. LiveCycle SDK help has examples that will give you a good start point.

When you'll complete the task the process will move to next step in process. You will not need to worry about which user has that taks as the API call will complete the task as System user and the task will get removed from user's queue and next process logic will get executed.

regards,

Parth

blog: http://blog.pandyaparth.com