<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Manage rules in the alfresco 7.4 community I Need to create API For rules in the alfresco 7.4 How? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/manage-rules-in-the-alfresco-7-4-community-i-need-to-create-api/m-p/145324#M38535</link>
    <description>&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;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?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;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"&lt;/PRE&gt;</description>
    <pubDate>Wed, 27 Mar 2024 12:51:16 GMT</pubDate>
    <dc:creator>KRANTHIKIRAN</dc:creator>
    <dc:date>2024-03-27T12:51:16Z</dc:date>
    <item>
      <title>Manage rules in the alfresco 7.4 community I Need to create API For rules in the alfresco 7.4 How?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/manage-rules-in-the-alfresco-7-4-community-i-need-to-create-api/m-p/145324#M38535</link>
      <description>&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;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?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;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"&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Mar 2024 12:51:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/manage-rules-in-the-alfresco-7-4-community-i-need-to-create-api/m-p/145324#M38535</guid>
      <dc:creator>KRANTHIKIRAN</dc:creator>
      <dc:date>2024-03-27T12:51:16Z</dc:date>
    </item>
  </channel>
</rss>

