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) »
  • activity auto-scheduling - only with Open Case?
Pages: [1]

Author Topic: activity auto-scheduling - only with Open Case?  (Read 1441 times)

Barry1

  • Guest
activity auto-scheduling - only with Open Case?
May 11, 2010, 04:28:37 am
Hi There,

I was hoping to have a case activity auto-schedule once a prior activity happened -  similar to this from the examples in PHP repository:

   <ActivityType>
          <name>Survey client satisfaction Referral to counselor</name>
          <reference_activity>Open Case</reference_activity>
          <reference_offset>21</reference_offset>
          <reference_select>newest</reference_select>

but using another activity (in our instance "Create Client Plan") as the reference activity rather than 'Open Case'. However, that doesn't seem to work. Does the reference offset only work with 'Open Case'? Maybe Open Case is special in some way for this purpose that I am not understanding? The activity and proposed reference activity are both named correctly and work fine in all the usual ways.

Cheers, Barry

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: activity auto-scheduling - only with Open Case?
May 11, 2010, 07:35:15 am

yes the code does the offset only from the open case activity since that was the initial need

would be great if you can extend the code to handle offsets from other activity types and/or hire a developer who can do the same. that would be great

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

Barry1

  • Guest
Re: activity auto-scheduling - only with Open Case?
May 11, 2010, 12:29:22 pm
Thanks for your reply Donald - unfortunately can't make any promises but it is helpful to know some extra coding is needed for that.

Barry1

  • Guest
Re: activity auto-scheduling - only with Open Case?
May 11, 2010, 04:43:38 pm
FYI for anyone else: in the meantime we have decided to put in a 'review prompt' question, using custom data, for the activity 'Create Client Plan' and make it a required field to answer yes or no, with short explanatory text asking for a review of client plan to be scheduled within 12 weeks on plan creation.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • activity auto-scheduling - only with Open Case?

This forum was archived on 2017-11-26.