Hi @SateeshRe Do you want to assign the approval to a user or a group?, If you want to assign it to a group then you have or split in the workflow model to validate the approver is not same as the initiator
// Find resources directly associated with the tagResource tagResource = resourceResolver.getResource(faqTagObject.getPath());This won't give any resources with the specified tag. For example if the faqTagObject path is /content/cq:tags/sample then you will get the resource of /content/cq:tags/samp...
Hi @Brian_Vaughn I agree with solution provided by @narendragandhi , Try to get resource resolver from service user and if you are using resource resolver to get session then get session from workflow session instead of resource resolver.
Step 1create a Sling model for accordion containerpackage com.example.models;import org.apache.sling.api.SlingHttpServletRequest;import org.apache.sling.models.annotations.Model;import org.apache.sling.models.annotations.injectorspecific.SlingObject;import org.apache.sling.models.annotations.Defaul...
AEM context will work only for the version 6.0.0 and above for osgi core and osgi cmpn. Update your pom dependency to fix the issue
<dependency>
<groupId>org.osgi</groupId>
<artifactId>osgi.core</artifactId>
<version>6.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
...