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) »
  • Alpha and Beta Release Testing »
  • 4.5 Release Testing »
  • CiviCase sequences
Pages: [1]

Author Topic: CiviCase sequences  (Read 497 times)

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
CiviCase sequences
August 20, 2014, 04:25:34 am
In beta7 it appears that the use can only create one Sequence in a case type, although I can create multiple timelines. The documentation implies that multiple sequences can be created.

Also, a very minor presentational point, the drop-down to add a timeline or sequence reads "(Add)" Are the brackets required?
Graham Mitchell
http://mc3.coop

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: CiviCase sequences
August 20, 2014, 04:49:50 am
The documentation for CiviCase is still a work in progress.  Help will be greatly appreciated.

Yes, it does appear that you can only have one sequence for each case type.  This is possibly because of the way the activities are added one at a time.  The next activity is added as soon as the current activity is completed.   

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Re: CiviCase sequences
August 20, 2014, 05:51:41 am
Hi Joanne

I can see that the docs are still being developed, and I'm happy to pitch in to this effort - I'll respond to your PM on this point.

In terms of sequences, this looks to be an entirely new feature and I can see it being useful. I can also see users wanting to have more than one sequence available to them in any given case type. In some cases the choice between timeline and sequence seems to be as much about how people like to work as it is about anything else, so the possibility for multiple sequences seems reasonable. Unless I've missed something about them that makes this infeasible or nonsensical - difficult to judge having just come across the feature and not having has the chance to thoroughly test it out in the wild.
Graham Mitchell
http://mc3.coop

totten

  • Administrator
  • Ask me questions
  • *****
  • Posts: 695
  • Karma: 64
Re: CiviCase sequences
August 20, 2014, 11:49:30 am
It could be extended to support multiple sequences, but it would be a new feature that requires some budget - and it would need to target 4.6 (or maybe an extension...that requires thought).

Updating the CaseType GUI would be the easy part. The harder part is to properly respond to changes in concurrent sequences - e.g if two concurrent sequences both involve a "Meeting" activity on the same case, and one meeting completes, then how do we know which sequence to advance? We'd need to track more data about the linkage between a sequence and activity.

Short of that, there are some other possibilities:

- To make multiple sequences, just make multiple cases/case-types.
- Design sequences with no overlapping activities.
- Only allow one sequence at a time.

I'm cautiously optimistic that we could extend SequenceListenerTest to QA multiple-sequence behavior. But generally, I think it would be better as 4.6 project.

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Re: CiviCase sequences
August 20, 2014, 01:13:24 pm
Thanks for getting back on this.

1. Good to know that for know at least we are talking about one sequence per case type. I can ensure that the documentation reflects this.

2. In terms of multiple sequences, given that the next activity in a sequence only becomes apparent at the point where (presumably) the current activity status is shifted to 'complete', my assumption on use of multiple sequences within a case type would be to use it almost like a conditional branching of the workflow. e.g. if, as a result of activity x, there was a certain outcome, the user could then invoke a new sequence that took the case down a different path. Invoking a new sequence would stop the previous sequence in its tracks.

Initially at least, such an approach would be manually controlled, perhaps by a case manager, but I could see  a future scenario where such conditional workflows were controlled by key decision fields in activities, or perhaps linked to the triggers/actions type mechanism that CiviCoop/Erik Hommel was recently involved in with MAF Norge?

I wasn't envisaging concurrent sequences, and for the moment at least, can't see a valid use case where multiple concurrent sequences would have any value (although I've no doubt that someone could devise such a scenario). Sounds complicated.
Graham Mitchell
http://mc3.coop

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.5 Release Testing »
  • CiviCase sequences

This forum was archived on 2017-11-26.