Operation participant call only once or call on each save
![]()
I have one question about operation participant ...whether the
Operation participant call only once when we create a new workitem or it call on each save of the workitem ? Because I was create a operation participant and tried it to update work-item description, it was works fine when I was created a new RCN but it didn't update workitem description next time when I was again save it. |
One answer
![]()
Operation participants get called on every save. If you only want your participant to do something once you will need to check for it within your code and just return without doing anything.
You can tell if the operation in question is an initial save by checking the value of ISaveParameter#getOldState(), which will return null if the work item is being saved is new.
|
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.