Symptoms
K2 BlackPearl error on rework task in workflow
Diagnoses
You have a K2 smartform that uses anonymous login (students to apply for RPL). When the application form is completed and submitted, a K2 workflow starts that will send the new request to a RPL Officer for verification. A smartform client event in the workflow has 2 outcomes - i.e. submit or rework. If the "rework" action is executed, the workflow creates a new task notification back to the user who needs to edit his/her application and add the outstanding information / upload additional documentation.
When you test the rework task notification - if you lick on the worklist item link in the email message - the form opens up with an error message --> xxxxxxx K2 service account is not allowed to open the worklist item with SN= xxxxx (see attached screenshot).
Resolution
To resolve you can add the K2 Service account as destination user and run the wizard in advance mode.
Within the destination rule options set this to "Plan Just Once" then selected "specify the number of slots to be created" and specify to create 1 slot to be added for the service account to be assigned to the destination sets.