Skip to main content

Hi,


I'm new develop with K2, i have question about K2 Workflow.


now i have 2 person in 1 role and they got same mail from system when their task to start.


and then 1 person approved it... my problem is ... if another one go to this page (by link in mail ..ex. www.abc.aspx?SN=123_2) then they will found error page. so how to check that this SN already take y someone already?


my point is i need user to know that this task already take by another one.


 


Thanks a lot.


Jack


 


 

You can do a simple test in the catch block:



{


    // Open connection(s) and WL item


}



catch (Exception ex)


{


    if (ex.Message.Contains("26030 Worklist item"))


        lblMsg.Text = "Worklist Item has already been allocated";


    else


        HandleException(ex);


}


finally


{


    // Close your connection(s)

}



Hi dc,


It's work ... Thanks a lot!


 


 


Reply