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) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • New 'job' interface
Pages: [1]

Author Topic: New 'job' interface  (Read 434 times)

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
New 'job' interface
March 19, 2012, 02:09:23 am
Am using the new 'job' interface to run jobs for the first time. & noticed a few things

  • It's nice & a huge improvement :-)
  • I'm not clear why you can change the 'civicrm_api3' bit
  • We could enhance it by using some of the api building blocks - we have a function to pick out the method name & to getfields to retrieve what parameters are available & which are required / what the defaults are (we would need to add spec functions & get rid of some of the legacy stuff. I had to look at the code to figure out the parameters
  • There was no clear indication of success in the log
  • it's not possible to clone a job on the listing
  • Specific to the job I was doing - not sure why contact type & greeting type need to be compulsory - I had to run it 6 times (& couldn't clone it) on a db of 500 contacts
  • Also, the job I was doing had checking against a range of possibilities - e.g. Individual, Organisation, Household - this should go in the wrapper layer & leverage getfields too
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • New 'job' interface

This forum was archived on 2017-11-26.