Results 1 to 6 of 6

Thread: Event based programming

  1. #1
    youssefaoun is offline Sugar Community Member
    Join Date
    Apr 2007
    Posts
    55

    Default Event based programming

    Is their any API for events in Sugar?

    Do we have the possibility to subscribe to events and run code related to a particular event?

    Regards,

  2. #2
    sacramentojoe is offline Sugar Community Member
    Join Date
    Nov 2005
    Posts
    447

    Default Re: Event based programming

    Not sure what is meant by events. There is a workflow engine.
    You can write custom workflow & actions.

  3. #3
    youssefaoun is offline Sugar Community Member
    Join Date
    Apr 2007
    Posts
    55

    Default Re: Event based programming

    Is the Workflow engine available for the OpenSource solution?

    I couldn't see it.

    regards

  4. #4
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Event based programming

    No, the workflow engine is not available in open source. Also, PHP doesn't support events. You can somewhat simulate them from what I've read before, but it is not part of the architecture.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  5. #5
    ruchida's Avatar
    ruchida is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Feb 2005
    Location
    Japan
    Posts
    1,375

    Default Re: Event based programming

    Quote Originally Posted by youssefaoun
    Is their any API for events in Sugar?

    Do we have the possibility to subscribe to events and run code related to a particular event?

    Regards,
    Sugar does not support events, but as far as I know the only way you can simulate "events" will be to utilize the logic hook architecture. One of techniques I can imagine to realize "events" will be writing a custom code in a logic hook to push events to a queue, then a subscriber looks at the queue for any new event.

    For more information about logic hooks, please see below;
    http://www.sugarcrm.com/wiki/index.p...l_custom_logic
    http://www.sugarcrm.com/wiki/index.php?title=WorkFlow
    Ryuhei Uchida
    Help Forum Moderator
    Calendar 2.0
    http://blogs.itmedia.co.jp/ruchida/

  6. #6
    bconvis is offline Sugar Community Member
    Join Date
    Apr 2005
    Posts
    54

    Default Re: Event based programming

    SierraCRM Inc. www.sierracrm.com has released the Process Manager for SugarCRM OS. It is an event based workflow engine that create emails, call, or tasks based on insert or update of Lead Contact Customer or Opportunity. A lite version of the app is availbale on sugarforge in the workflow section. The full featured version if avaiable from SierraCRM.

    Regards,
    Bill Convis
    www.sierracrm.com
    530 272 3064

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Sugar Events - programing hooks
    By gasparz in forum Developer Help
    Replies: 8
    Last Post: 2011-08-24, 07:55 AM
  2. Looking for Programming and Sys Admin Help
    By Epicom in forum Classifieds
    Replies: 2
    Last Post: 2006-12-22, 06:28 PM
  3. Hiding values based on team
    By mrobertson in forum Developer Help
    Replies: 4
    Last Post: 2006-08-03, 12:33 AM
  4. How to make a field read only based on data
    By prismainc in forum Help
    Replies: 0
    Last Post: 2006-06-11, 01:07 PM
  5. Custom Fields
    By scourtney2000 in forum General Discussion
    Replies: 0
    Last Post: 2006-02-09, 04:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •