CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Filter out the "automatic" activities
Pages: [1]

Author Topic: Filter out the "automatic" activities  (Read 1148 times)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Filter out the "automatic" activities
January 24, 2013, 04:23:11 pm
Hi,

When you have loads of activity on a contact, it becomes hard to see "real" activities (eg. phone calls, meetings, Emails...) and "automatic" ones (event registration, case review, contribution). By automatic, I mean every activity that hasn't been created directly by a user but as a byproduct of something else.

There is already a is_auto column in the activity table, but the only case it's true is for the case reviews. Is this used somewhere? What's its purpose?

A client wants to have an option on the activity tab to filter out these automatic activities. I thought of using this field as a filter but
1) would need to set is_auto for more activity (either change in core or extension)
2) alter the select form to add an option to filter on auto(core or extension)
3) most of the js code and ajax stuff seem to be re-usable
4) allow to filter on is_auto  CRM_Activity_BAO_Activity::getContactActivitySelector (need some more testing)

So most of it (beside the getContactActivitySelector) would work as an extension or in the core.

Is this a shared and common need or better as an extension?

Otherwise, getContactActivitySelector seems to be a better underlying method for the activity get api that is rather more limited.

X+

-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Filter out the "automatic" activities
January 25, 2013, 04:05:17 am
+1 X. I like the idea. Would be something for a Make It Happen, even if it is a small one? A setting that would control if you show or do not show the automated activities? And use the is_auto column so you can control your customised activities in this way.
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

robinhood

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 6
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.56
  • PHP version: 5.3.5
Re: Filter out the "automatic" activities
January 25, 2013, 04:53:20 am
I like this idea.  Our activity lists quickly fill up with bulk mail notices which make it hard to find anything else.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Filter out the "automatic" activities
January 25, 2013, 10:01:38 am

thanx to NYSS, this is being added to 4.3:

http://issues.civicrm.org/jira/browse/CRM-11761

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Filter out the "automatic" activities
January 25, 2013, 10:43:20 am
Hi,

Not sure it's the same issue:

NYSS is about remembering I want to see only meetings, or only phone calls, right? But you can still only select one and only one activity type,right?

Here the need is to see both meetings AND phone calls AND any "hand made" activity.

It's a bit like the 2nd level on participants:
- you have one status lower level
- you have a broader "counted" or not level. So you can see all the registered an attended and... put together at onces and filter out all the no-show and canceled and...

Here the need is similar:
- the activity type is the lower level
- automatic (bulk mail, case status change...) or "handmade" (phone, email, meeting....)

the goal is to let the user filter out ALL the bulkemails and other "noise" and keep only the manually created activities

Make sense? The automatic vs. manual might not be the best name for the higher level segmentation, but hope the idea is somehow clear

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Filter out the "automatic" activities
January 25, 2013, 11:43:41 am

Yes, its not the same. Its a step in that direction.

Folks who are interested can pick up on the work we are doing for NYSS and extend it to meet their needs

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Filter out the "automatic" activities

This forum was archived on 2017-11-26.