I am new to workflows so please bare with me. We are trying to implement blogging feature where user comments will go through approval process (workflow) which also has watchwords analyzer.
We are using AEM 5.6.1 along with AEM 5.6.1 Social Communities Feature Pack 1.4.206 installed .
The problem is comments does not go through watchwords analyzer(my understanding is watchword analyzer will block the comments containing the words we list in the dialog). Also there are many workflows like
The watchwords analyzer step does not block the comment contain negatieve words. it only analyzes the comment and extracts the positive & negative words in it. Then it is passed through sentiment analyzer which calculates the sentiment value based on ratio of postive/negative words in that comment. After that based on your sentiment rules the comments are blocked or allowed.
Rule 1 : set value to 1 if there are no positive words and at least one negative word
Rule 2 : set value to 5 if there are no negative words and at least one positive word
Rule 3 : set value to 2 if there are more negative words than positive words
Rule 4 : set value to 4 if there are more positive words than negative words
The rules are define here : /libs/cq/workflow/components/workflow/social/sentiments/rules
WatchWords analysis happens as part of OOTB Social Moderation workflow. But this is just the OOTB workflow. I cannot tell for sure if you have done any changes to the existing workflow or created any new one in your application.
One general way to find out which workflow is being triggered is to do the following steps:
1) See the workflow instances running in the workflow console .
2) Find out available launchers on a particular path. For example: goto workflows console > launchers and check which launchers are enabled for path.