
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2019 07:59 AM
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?
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2019 09:00 AM
You should be able to disable the behaviour of the auditable aspect. See for example:
Regards,
Jan
ps. you should be able to find examples within the core code (repository or open source extensions), eg.
... etc
or search web for more general discussions, eg.
... etc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2019 09:00 AM
You should be able to disable the behaviour of the auditable aspect. See for example:
Regards,
Jan
ps. you should be able to find examples within the core code (repository or open source extensions), eg.
... etc
or search web for more general discussions, eg.
... etc
