Closed ghost closed 2 years ago
Sorry for the delay.
Well the SaveChanges
method is public and can be called, but it would be my second choice. In fact it isn't documented.
My first choice would be to set the bypassRules
flag except that you cannot set it independently but it is tied to the impersonate directive.
It is not a complex change but I do not have time at the moment, so if you can submit a PR, I would be grateful... or be patient.
Tracking this in #255
I try migrate rule from the old Aggregator plugin. This rule aggregate effort from children to parent.
When a item has children, the effort fields is read only by custom Hosted XML process rule (fields["MyOrg.HasChildren"] == "true").
The Aggregator rule is 3 step 1) Set the field "MyOrg.HasChildren" to empty 2) Set effort value 3) Set the field "MyOrg.HasChildren" to true
This is the old rule :
I write this rule to Aggregator CLI :
But this get the error :
I think Aggragator CLI send all values in one query. It's possible to do intermediate save in rule?