Legacy review process does not get called for a community?
As part of one process i have a condition added saying assettype="Template Topology",this is the policy that should get called on delete action.
The policy is expected to do the following :
whenever you try to delete an asset of the type template topology in this community,then it should show a message saying it does not comply to the policies and should not get deleted.
But currently the asset gets deleted with a success message and i can see in the logs that the policy process does not get called.
RAM version is 7202.
I have checked the configuration ,it is fine.Another thing is that if i add the policy as part of the lifecycle it gets called.Is there something that may be missing for policy processes from my side?
2 answers
assetType="Template Topology" ... I assume that this is the lifecycle creteria... and that this lifecycle really is the one that is used for the given asset (make sure by clicking the asset's state to see which life cycle it is driven by).
Also, assume that you have the "do not delete" (custom) policy on every state of your lifecycle?
... as a test, make that policy run on an asset update. ... update the asset and give it a try
Comments
The assetType is the condition added on the policy process.There is no lifecycle configured for this community ,it just has policy processes. The do not delete policy process is set for the action asset delete with a condition that is for which asset type.But i noticed that it does not get called at all.I even tried changing the priority of the process that is moving it up,it did not help.
What you mean by a policy process, is this the policy implementation (it will be run as part of the RAM server process in this case)?
A policy only runs for at a particular state of a lifecycle.
How did you configure this custom policy?
The policy process is the one that comes as part of the legacy review processes for a community.The policy is configured to run based on the action that is performed and not the state like asset submission,asset delete etc. so you get an option under this legacy review processes to add a policy process ,wherein you can set the action the condition and the policy that should be called.