I started writing a custom step workflow to clear the apache cache. I have a few questions as I am finding really hard to find good documentation about it.
1 - Where can I see the logs for the workflow? I tried adding configuration to the Apache Sling Logging Logger Configuration but nothing is coming out in the logs (It's set to debug) I am looking at error.log btw.
2 - Where can I find development based examples for custom workflows? I am working with AEM 6.0 but even 6.4 would be helpful.
Thanks in advance,
You can setup a DEBUG logger on the following classes to capture more information related to workflows:
Check  for more details on how to write custom workflows
That being said, AEM 6.0 is no longer supported by Adobe and you should be looking at upgrading to the latest version asap.
to check the logs - please configure the log under system/console click on a sling and then sling log.
create a new log and provide your workflow class. select the log as Debug.
that file will be created in your log folder under quickstart.
if still, the logs are coming then something is a problem with your workflow class. then try to put the logs in initial level and see if the logs are coming in a file.
try to set it to info and error as well. and check whats happening.
Different custom workflows:
Please let know if you face any issues while configuring the log.
For those reading this - we have plenty of HELXP WORKFLOW use cases - you can google these name to find.
Creating a custom workflow step that uses the MessageGatewayService API 67
Moving Digital Assets using Adobe Experience Manager Workflows 68
Invoking an Adobe Experience Manager Custom 6.4 Workflow from a web page 69
Creating a custom Adobe Experience Manager 6.3 Dynamic Participant step 70
Modifying Digital Assets using Adobe Experience Manager Workflows 71
Creating an Adobe Experience Manager Custom 6.4 Worflow Step with a dialog 72
Creating an Adobe Experience Manager 6.4 custom workflow step that uses the Externalizer API 73
Replicating Experience Manager Content using the Replication API 74
Retrieving Experience Manager 6.4 Workflow information using the Workflow API 75
Passing Binary Data between Experience Manager Workflow Steps 76