How to make an account active or inactive?

I am looking at possible ways to define an account as 'active' or 'inactive'. A simple checkbox will do the trick to identify this however I am stuck on how to define it as a process (looking to automate). Initially I thought about defining it as: 


Accounts>Date Modified - 3 weeks 

However that poses an issue because an account does not necessarily get updated when a related record is added/modified.

Has anyone done this before and/or have some insight how I could go about it? 

Parents Reply Children
  • Thanks for the additional detail. My first though on how this could be achieved would be to create custom date or datetime field in the Accounts module. Once that field is created, you would then create separate processes to achieve the following use cases in SugarBPM:

    1. Analyze the date field when it is updated and set the account to an inactive status if it remains unchanged for X days/weeks.
    2. Update the date field in the account record and set the status to active for any qualifying update to the direct account record. (e.g. phone number is updated, account type value changed, etc.)
    3. For each related module you classify as meaningful activity, a process that updates the parent account's date and sets the status to active based on the qualifying update in the child record. (e.g. opportunity sales stage changes, call record created, etc.)

    If you have a lot of related modules or a lot of related records within certain modules, I recommend this solution over using Sugar Logic formulas. Sugar Logic can create performance bottlenecks if a large number of calculations have to be performed against related modules.