Is there any way to add the dependency of one custom on another in Server Side plugin development
Hello All,
I am developing a server side plugin, where it checks for the linking of the WI to other.
Is there any way I can create a dependency on the links field in the WI and an custom created field ?
So that I can dynamically get the count of WIs linked in the custom created field, as and when the new WI are linked and deleted.
or also It would be great, if there is any way to call the server side plugin, other than calling on save operation..i.e., plugin called dynamically on an attribute, due to value change through the dependency created on Links field.
One answer
Operation behavior is triggered by an operation e.g. save. Although it is possible to call an operation behavior from another operation behavior, this is not something that one should do and as far as I can tell there are no usual use cases where this would be a best practice.
Attribute value changes can be detected on work item save (advisor or participant) by comparing the value in the old state and the new state. It is up to the extension developer to act on that information.