Skip to main content

We have a group of people receiving task notifications in email.

 

The first person opens the email link, which brings them to workspace and loads the task.  They complete the task.

 

When the second person reads their email, and clicks on the link to the task (which is already completed), they get the error message that the worklist item could not be opened.

 

Obviously, we cannot unsend emails.  Does someone have an example rule where there is error handling to put out a user friendly message that the task is 'Already Completed'?

 

It would seem to me that K2 sending out emails to groups would encounter this all the time.  Our groups use email, when the other alternative is to have everyone have K2 workspace being refreshed several times during the day.

 

Looking to stay out of K2 workspace all the time if possible.

 

Can anyone offer a wonderful suggestion?

 

BKlaege

Hi,


 


Is this what you are looking for?


 


 


Hi BKlaege


 


See related post below:


 


https://community.k2.com/t5/K2-Blackpearl-Forum-Posts/Worklist-item-could-not-be-opened-lt-user-gt-is-not-allowed-to/td-p/93893


 


https://help.k2.com/support-services/kbt141107


 


https://community.k2.com/t5/K2-blackpearl-Articles/Worklist-item-could-not-be-opened-is-not-allowed-to-open-the/ta-p/77066


 


https://help.k2.com/kb001884


 


Regards


Elvis


BKlaege


 


Scenario #3


A task is assigned to UserA.  UserA decides to forward the notification email to UserB (who is not a member of the group or part of the task assignment); UserB will see error '24411' when he/she tries to open the link in the email as he/she is not part of the destination set.


To properly redirect or delegate the task to a new user, UserA should redirect/delegate the task via the Worklist Control, Worklist Webpart, or custom worklist application:


http://help.k2.com/onlinehelp/K2smartforms/UserGuide/4.7/default.htm#Worklist_Control.html


A K2 Administrator can also perform this action when applicable:


http://help.k2.com/onlinehelp/k2blackpearl/UserGuide/4.7/default.htm#K2_Management_Site/User_Management/TaskList.htm


General Troubleshooting


Should a user report this error:


a.  Check if the user sees this task in his/her worklist after refreshing it (via the Worklist Control, Worklist Webpart, or custom worklist application using K2 API); if not, then the error is expected and needs to be addressed accordingly


b.  Check the Task List/Management Worklist (usually only accessible by a K2 Server Administrator), what is the current status of this task item?  Is it 'Available'?  If 'Open', who currently have it opened?  Can it be released?


c.  The process instance Viewflow will also have relevant information regarding how the task was assigned, who it is assigned to, and the task's current status.


 


Reference: https://help.k2.com/support-services/kbt141107


 


Regards


Elvis


Elvis,

We are not using workspace to respond to the task; we are using an email link, so the solution of delegating, or redirecting the task does not help. Sorry if I was confusing in stating the problem.

I will look into when the form raises an event, to see if I can customize a message when trying to open the form. I could open the link you posted, but no subsequent links of rules in the posted solution about catapult systems...

If you could attach any screenshots to the post, that might save time in my quest.

Posted from boringnerd, about changing the system messages. I do not have the admin rights, but this may remain a possibility. Thanks! We add several mailboxes as senders of emails, and we have to reconfigure this every patch and upgrade. Pain in the butt, but we need this solution as well.

Thanks all! I will accept a solution, when I can get something working.

BKlaege

I wound up adding the rule in the init of the form to check for an error message and an advanced condition on the specific error message.  Then I write a message.

 

Thanks to BoringNerd and Elvis

 

BKlaege


Reply