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) »
  • Support »
  • Using CiviCRM »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • Assign case activity to a case role
Pages: [1]

Author Topic: Assign case activity to a case role  (Read 457 times)

jaapjansma

  • I post frequently
  • ***
  • Posts: 247
  • Karma: 9
    • CiviCoop
  • CiviCRM version: 4.4.2
  • CMS version: Drupal 7
  • MySQL version: 5
  • PHP version: 5.4
Assign case activity to a case role
June 30, 2014, 01:57:47 am
Hey,

Is it possible to assign activities in a case automaticly to someone with a role in the case. E.g. we got a case role called Expert and we want that certain activities are assigned to this Expert.

Thanks,
Jaap
Developer at Edeveloper / CiviCoop

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: Assign case activity to a case role
June 30, 2014, 12:07:15 pm
Assignee needs a contact id, so you can't make it a role so that at any given time it will resolve to "whoever happens to be the expert right now". I think that's what you're asking. What you could probably do is write a hook that reacts to the update of a case role, and then update the activities.

jaapjansma

  • I post frequently
  • ***
  • Posts: 247
  • Karma: 9
    • CiviCoop
  • CiviCRM version: 4.4.2
  • CMS version: Drupal 7
  • MySQL version: 5
  • PHP version: 5.4
Re: Assign case activity to a case role
June 30, 2014, 01:21:45 pm
Yes I am asking for who is the expert at the moment the activity is created. I was thinking of developing a hook but before I do I wanted to make sure that such functionality didn't exist already.
Developer at Edeveloper / CiviCoop

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • Assign case activity to a case role

This forum was archived on 2017-11-26.