Route the task to the right person in Workbench

Avatar

Avatar

Han_Dao

Avatar

Han_Dao

Han_Dao

11-03-2009

Hi,



I am working on the process that need to check if the Form Filler is not the 1st person in the list, then the form is forward to that 1st person (Form Submitter) so he/she then submit it to the supervisor to get an approval. And if the Form Filler is the person whose name is 1st one in the list then he/she can initiate or submit the form to the supervisor (as he/she act as Form Filler and Form Submitter) to get an approval. I used the SetValue service for the checking, the User service for Form Submitter, and another User for the Supervisor then use the xpath for the condition like (../process_data/@login_id != /process_data/@str_NtwkID) for routing to the Form Submitter for submitting and (../process_data/@login_id = /process_data/@str_NtwkID) to submit the form to the Supervisor but it does not work.



Am I missing anything here? Or is there a better way to do this kind of process? I would appreciate any help here!



Thanks much in advance.

Han Dao

Replies

Highlighted

Avatar

Avatar

Han_Dao

Avatar

Han_Dao

Han_Dao

11-03-2009

Also the login ID or str_NtwkID populates from the web service in the form. I can send the process for your review if needed.



Thanks again,

Han Dao