Let me first try quickly answer your questions, and next elaborate a bit more about potential solution.
1. Is this the correct behavior? It seems that the context passed by the expression should overrule the default context.
In my opinion this is correct behavior, at least looking...
In general there are 3 main options in terms of forms in AEM:
Solution that is part of AEM Core Components. It provides Form container with few OOTB actions (you can also write your own action), and set of form elements like input, button etc.
Adobe docs: h...
This is OOTB AEM behavior, and it is not related to ACS Commons or replication-workflow-process.
So, in case you are replicating the package it will be installed without package snapshot creation. This means there will be no data that are required to proceed with uninstallation proc...
If I understand your case correctly, I think you should rather use scheduled jobs instead scheduler. I did a quick test, and was able to successfully create scheduled job from workflow process. The job was executed at given/scheduled time and was handled/consumed by dedicated job c...
As far as I know cost for traverse indicates number of nodes that needs to be read (traversed) by search engine base on query criteria to give you a final result.
In general traversing is ineffective method of searching the JCR tree, no index is in use during this operation. Trav...
First of all, I would suggest to set Error Message and Thank You Page, they are optional but will help you to see if your form has been successfully processed or not without any additional debugging.
Second thing, you will not see the request to the endpoint you have set, in the...
In general you can use DAM EVENT_TOPIC which is dedicated to handle asset related operations, it defines multiple types related to different activities (asset metadata modification, asset move etc), you can find full list under:
Assuming you are using OOTB DAM Update Asset workflow then you can utilize information that is generated by DAM Update Asset Workflow Completed step. This step is also responsible to set dam:assetState property value to processed. As part of this step DAM_UPDATE_ASSET_WORKFLOW_COMPLE...
First of all, I have to say I fully agree with the other guys - groovy console seems to be the best option. Described case is just perfect one to use GC.
Regarding alternatives, apart what you have already listed.
1) Write a servlet and iterating over all the assets and pages
In general MCP expose JMX api, you can got to following url:
http://localhost:4502/system/console/jmx/com.adobe.acs.commons%3Atype%3DManage+Controlled+Processesand use haltActiveProcesses() to complete the process.
Alternatively you can hit below endpoint