Analyzing and Troubleshooting Automated Processes while they are executed.

Version 1

    Details

    [SYMPTOMS]
    Automated Processes seem to skip some records / events which would be expected to be triggered

    [INITIAL TROUBLESHOOTING]
    - Verify that the Automated Process is setup correctly

    - While not a common resolution but a suggestion especially when triggering for example CONTACT2 fields e.g. Birthday fields etc. >> Make sure to have a full running backup of the database and run a maintenance (ONLY INDEXING) of the GoldMine database

    - Verify and follow the Process Monitor during execution of the Automated Process. While it might be possible to get here already some ideas why the process may not work as expected, the default outcome on the Process Monitor Window may not provide sufficient troubleshooting information as desired as by default no details are tracked when executing the Automated Process. Additional or more verbose logging is required as can be setup as below. 


    Resolution

     

    [INFORMATION]
    - The Process Monitor by default does only track very generic information while executing an Automated Process
    During execution of the AP:


    After the AP has been finished:



    In order to analyze or troubleshoot deeper the execution of an Automated Process the APDebugLog setting can be used:

    1. Closing GoldMine as the user
    2. Browsing to  the GoldMine shared folder on the Application Server (where the  licenseGM94.bin, DBALIAS,INI and the User.INI files resides)
    3. Open the specific User's INI e.g. MASTER.INI
    4. Search/Find the [GoldMine] section

    5. Add / verify
    APDebugLog=0   Default Setting, logging only generic information into Process Monitor as above.
    APDebugLog=1   Process Monitor logging without SysLog entries
    APDebugLog=2   Process Monitor logging with SysLog entries


    6. Save the user's INI file
    7. Start GoldMine and test the behavior
    8. Make sure to review and save the process monitor for the AP executed


    Process Monitor outcome with settings

    APDebugLog=1   Process Monitor logging without SysLog entries
    APDebugLog=2   Process Monitor logging with SysLog entries


    During execution of the AP:




    After the AP has been finished:


    GoldMine Logs >> Tools >> Logs >> GoldMine Logs >> Process Monitor with settings

    APDebugLog=0   Default Setting, generic information in logs that AP was executed (highlighted in yellow).
    APDebugLog=1   G
    eneric information in logs that AP was executed (highlighted in yellow)
    APDebugLog=2   Detailed information logged in SysLog (highlighted in green)