Skip to main content
Nintex Community Menu Bar

How to check whether Work Item is locked in K2 Smartforms

  • November 22, 2016
  • 1 reply
  • 11 views

Forum|alt.badge.img+1

Hi,

 

K2 workflow will assign a task to multiple individual users. One of the user open the work item (lock the task). The rest of the user couldn't take work item (task) upon one of them open (or lock) work item. there is open work item rule action in K2 Smartforms. However how can i check whether task is locked (opend) or not  in form load event. 

1 reply

Forum|alt.badge.img+8

Dear 

 

As i remember that when that scenario happens , the other users will get an error when opening the form because its locked .

and error handling in smartforms is using "if an error occured" , and you can show couple attributes of error context.

i do believe that if you use it inside of your form's initializing rule you will get proper handling for other users to notify them that its locked.

 

12268i1EA0DA007556353F.jpg

 

Hope it helps!

Regards