Results 1 to 7 of 7

Thread: Workflow Engine

  1. #1
    HenryJonesMon is offline Junior Member
    Join Date
    Feb 2009
    Posts
    3

    Default Workflow Engine

    I've setup a workflow to update the TextFieldA of my contacts module. I'd like the module to be able to look to another module to set that value. I have the workflow set as, Set TextFieldA as ........

    At the ..... SugarCRM lets you enter a value into a textbox. My question is, can I call a sugar value in that textbox when it loads? For example, Cases.LastName or something, and have that value render? I cannot believe the workflow engine cannot pull a value from somewhere else in the system.

  2. #2
    malcolmh's Avatar
    malcolmh is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Aug 2004
    Posts
    1,712

    Default Re: Workflow Engine

    Hi,

    afaiaa this is not currently possible with the current workflow manager. You would need to write your own logic hook
    Cheers Malcolm

    Genius4U Limited - Ingenious simple IT solutions for you / Genial einfache IT Lösungen für Sie
    http://www.genius4u.com or http://www.genius4u.de

  3. #3
    HenryJonesMon is offline Junior Member
    Join Date
    Feb 2009
    Posts
    3

    Default Re: Workflow Engine

    That is amazing. What kind of workflow engine cannot update fields with a previous field. How difficult is it to pass values between modules? Can anyone give me a example?

  4. #4
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Workflow Engine

    Many have tried to make this happen, but it only really works if the two modules have a one-to-one relationship. For example since each contact can have multiple cases and each case can have multiple contacts, which case/contact do you want the workflow to pull the data from and which case/contact do you want to write the data to? One of those questions will be easy but the other one will not be. I tried to write this for a customer before I started to work for Sugar and I lost my shirt in the deal. We ended up working out a fairly hacked option that only worked when creating a new record not updating current records.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  5. #5
    HenryJonesMon is offline Junior Member
    Join Date
    Feb 2009
    Posts
    3

    Default Re: Workflow Engine

    I do have a one-to-one relationship between these two modules. How would this be done, assuming I have a 1-to-1 relationship?

  6. #6
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: Workflow Engine

    It's a matter of placement. Sugar cannot easily get fields from other beans in the reporting module, but you can setup a field that retrieves it (a relate field - not the Studio one by the way). That field can then be used everywhere.
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  7. #7
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Workflow Engine

    Quote Originally Posted by HenryJonesMon View Post
    I do have a one-to-one relationship between these two modules. How would this be done, assuming I have a 1-to-1 relationship?
    Basically what you are talking about is still custom code. It would be easier to write a simple before or after save logic hook than to try to modify workflow.

    Plus, did you create a new relationship between Cases and Contacts? Because the builtin one is not a 1-to-1.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Workflow Engine for SugarCRM Open Source
    By ghadiyam in forum Developer Help
    Replies: 5
    Last Post: 2008-04-12, 11:02 AM
  2. SMS Engine
    By mohammedyahya in forum Feature Requests
    Replies: 0
    Last Post: 2008-03-01, 07:45 AM
  3. is there a workflow engine for Sugar OS edition ??
    By Sri in forum General Discussion
    Replies: 3
    Last Post: 2007-01-29, 08:50 PM
  4. Workflow engine
    By Jagular in forum Feature Requests
    Replies: 0
    Last Post: 2005-09-01, 02:54 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
  •