


Hi Team,
I am not able to see the workflow model instead I have created many model, not sure why this is showing blank.
Not sure how to debug this
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Workflow models rendering logic
In Classic UI is /libs/cq/workflow/components/console/models/options.json.jsp
In Touch UI is /libs/cq/workflow/admin/console/components/datasource/modelsdatasource/modelsdatasource.jsp
Both retrieves models from WorkflowSession but former from com.day.cq.workflow.* API and latter using com.adobe.granite.workflow.*
Given that problem is in Touch UI alone, per the logic you should see a log message in error.log - "Error while retrieving workflow models." (Screenshot below)
Also you have mentioned that you have tried creating many new models, can you check where it got created. Is it under /var or /etc (if its fresh 6.5 instance, it should be in /var)
@tushaar_srivastava - Are you able to see it in classic version ?
Views
Replies
Total Likes
Do you see any error in AEM error.log when you hit the workflow model screen, please share the logs?
Thanks!!
Views
Replies
Total Likes
Views
Replies
Total Likes
Workflow models rendering logic
In Classic UI is /libs/cq/workflow/components/console/models/options.json.jsp
In Touch UI is /libs/cq/workflow/admin/console/components/datasource/modelsdatasource/modelsdatasource.jsp
Both retrieves models from WorkflowSession but former from com.day.cq.workflow.* API and latter using com.adobe.granite.workflow.*
Given that problem is in Touch UI alone, per the logic you should see a log message in error.log - "Error while retrieving workflow models." (Screenshot below)
Also you have mentioned that you have tried creating many new models, can you check where it got created. Is it under /var or /etc (if its fresh 6.5 instance, it should be in /var)
Views
Replies
Total Likes
I can see in my logs
*ERROR* [sling-threadpool-ed45eed2-832a-447b-b5d0-fe409fea7198-(com.day.cq.wcm.workflow.impl.wcmworkflowserviceimpl)-6] com.day.cq.wcm.workflow.impl.WorkflowAutoAssignAllocator Unable to read all workflow auto assign rules: /etc/workflow/wcm/templates
*ERROR* [sling-threadpool-ed45eed2-832a-447b-b5d0-fe409fea7198-(com.day.cq.wcm.workflow.impl.wcmworkflowserviceimpl)-6] com.day.cq.wcm.workflow.impl.WorkflowAutoAssignAllocator Unable to read all workflow auto assign rules: /etc/workflow/wcm/templates
Views
Replies
Total Likes
Save a copy of existing error.log file -> Clear the contents of existing log entries -> access Workflow models console in Touch UI once again and observe the logs.
Also can you confirm
Views
Replies
Total Likes
Views
Replies
Total Likes
You mean to say all OOB models and any custom models are in /etc and deleting things from /var and /conf help reflect the same in Models console?
Sorry, I couldn't follow the steps you have tried per your last comment.
Views
Replies
Total Likes
Views
Replies
Total Likes
Can you let know below details to narrow down the cause further.
Views
Replies
Total Likes
This is one similar thread
Check the comments provided by Hemant .
Hi Team, I tried to clear error.log and checked, I have deleted one Workflow Model from CRX that was under /var and /conf folder and because of this manually deleting the model, affected on the WF Model screen as per attached above. when I checked log and created the same model in Local and uploaded it into the local where this error was coming, then it got resolved, still wondering by deleting the WF Model from /var & /conf from CRX how this affected?
Views
Replies
Total Likes
My first question is after deleting how did u create this model? Was it via code deployment or via workflow console?
Either way, when you create the model you will definitely see it in /conf.
You just have to make sure it exists in /var also.
If not, just open http://localhost:4502/cf#/conf/settings/workflow/models/my-model.html
manually and save it. This will create a /var node then you will be able to see the model.
Views
Replies
Total Likes