Precondition on workitemDelete
Hi,
I am coding a precondition to prevent the user to delete workitems that are on a specific state or have some specific attributes filled. I managed to create the precondition and debug it, the problem is I couldn't get the workitem being deleted, the AdvisableOperation that use to have this information inside the operationData, now returns null, using that property I was able to get the SaveParameter and the Workitem been saved, when running on the SaveWorkItem How can get the workItem being deleted ? thanks, Paulo Cavoto |
2 answers
here is my advisor code
|
here is my advisor code Hi Sam, The code you wrote works perfectly on the "workitem save" behaviour, the problem is that when you are running this a precondition on a "workitem |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
Paulo, did you have an answer to your question?
Hi Luana,
Paulo, yes, I'm using version 4. But the data object is still null, and I could not find a solution for that.