When i click on run rule this rule run perfectly on my file.
but I want this rule run automatically when i create the file or upload in this folder someone can help me?
Alfresco Communities v.7.2
Solved! Go to Solution.
That is working as expected.
The condition you're setting is fired everytime a content of type ID_index_test is created on the folder.
However, you're uploading a file that is set automatically to cm:content type. After that, once the file has been created, you set the type to ID_index_test. This is why the rule is not fired. When you click on "apply the rule", the type is set and the rule is fired.
How are you setting the type to "ID Index test"? Every content upload to Alfresco Share (by default) is using default type (like cm:content).
@angelborroy wrote:How are you setting the type to "ID Index test"? Every content upload to Alfresco Share (by default) is using default type (like cm:content).
Hi, angelborroy
here is my type configuration ID_index_test has parent CM:CONTENT.
And when/how you set this type to the nodes in the folder?
You need to set that type explicitelly.
@angelborroy wrote:And when/how you set this type to the nodes in the folder?
You need to set that type explicitelly.
Hi, When i upload file to this and setup type (ID_index_test) to node(file) the property does not update automatically but when i go to manage rule of this folder I clicked on run rules for this folder my property was updated by my action.
so i think the rule is correct setting. but the background job not run in automatically ? Do you have any idea to check it?
That is working as expected.
The condition you're setting is fired everytime a content of type ID_index_test is created on the folder.
However, you're uploading a file that is set automatically to cm:content type. After that, once the file has been created, you set the type to ID_index_test. This is why the rule is not fired. When you click on "apply the rule", the type is set and the rule is fired.
@angelborroy wrote:That is working as expected.
The condition you're setting is fired everytime a content of type ID_index_test is created on the folder.
However, you're uploading a file that is set automatically to cm:content type. After that, once the file has been created, you set the type to ID_index_test. This is why the rule is not fired. When you click on "apply the rule", the type is set and the rule is fired.
I got the solution!!
I try change content of type or sub-type to content instead of ID_index_test
Then when upload file to this folder I change the type to ID_index_test the value of test:num already assigned to 999888 in automatically
Thanks angelborroy
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.