AnsweredAssumed Answered

How to modify node property in CronJob without changing "modifier"?

Question asked by npavlov on May 31, 2019
Latest reply on May 31, 2019 by janv
If I change some property (add aspect for example) in a scheduled Job, I get "modifier" property changed to "System".

public class
ExampleCronJob implements StatefulJob {

public void execute(JobExecutionContext ctx) throws JobExecutionException {
...
nodeService.addAspect(ref, ASPECT_EXAMPLE);

         ...
}
Is it possible to do this and leave "modifier" parameter unchanged?

Outcomes