Manage rules in the alfresco 7.4 community I Need to create API For rules in the alfresco 7.4 How?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 08:51 AM
I can't find the API for the alfresco Manage rule in the 7.4 community edition. Can you help me to solve this issue?
I need to run the rules through API not from the alfresco application. I tried different APIs for that but nothing can work for me can anyone guide me to solve the issue?
curl -i -u admin:admin -H "Content-Type: application/json" -X POST -d '{ "rule": { "title": "Move Old Folders", "description": "Move folders older than one week to an archive folder.", "action": { "actionDefinitionName": "sys:move", "parameterValues": { "destination-folder": "workspace://SpacesStore/archive-folder-id" } }, "condition": { "evaluator": "date.compare", "parameters": { "property": "cm:created", "before": "P1W" // One week ago } } } }' "http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/sites/{siteId}/containers/{containerId}/rules"
Labels:
- Labels:
-
Alfresco Content Services
0 REPLIES 0
