Menu
SuiteCRM Pull Request Party hosted by SalesAgility
Welcome, Guest
Username: Password: Remember me

TOPIC: Workflow executed right away?

Workflow executed right away? 3 months 2 weeks ago #75314

  • robert_sinclair
  • robert_sinclair's Avatar
  • Offline
  • Premium Member
  • Posts: 93
  • Thank you received: 9
  • Karma: 1
I have a bunch of logic that is executed when a lead is added and it's taking too much time for the end user to wait. So I'm thinking of creating a workflow for it, but I'm wondering if the "on save" workflow is executed right away or it acts as a scheduled job. If it performs all the actions right away like a logic hook, then there would be no sense in using it for this specific use case.
The administrator has disabled public write access.

Workflow executed right away? 3 months 2 weeks ago #75346

  • ashish@outrightcrm.com
  • ashish@outrightcrm.com's Avatar
  • Online
  • Premium Member
  • CTO at outright Systems
  • Posts: 95
  • Thank you received: 7
  • Karma: 1
When you want to execute your code , if not just after save ?
13 Years Experience SugarCRM / SuiteCRM developer!!!!!
Founder and Chief Technology officer @https://outrightsystems.org
Claim your Free Plugins before they go paid!!
store.outrightcrm.com/product-tag/free/
github.com/ashish-outright
Feel free to reach me at skype: ashdwi1
Email :ashish@outrightcrm.com
My Linkedin : www.linkedin.com/in/ashdwi1/
Hire me at upwork (Top Rated since 8 Years ) : www.upwork.com/fl/outright
The administrator has disabled public write access.
The following user(s) said Thank You: robert_sinclair

Workflow executed right away? 3 months 2 weeks ago #75349

  • rithurawat
  • rithurawat's Avatar
  • Offline
  • New Member
  • Posts: 1
  • Thank you received: 1
  • Karma: 0
First of the all, Understanding Log files is a developers right of passage ;) but basically, if you read the chunks in capitals, it talks you through the process it is taking;

enter workflow
evaluate criteria for [workflow name]
do we execute this one?
if so, what are the actions
execute actions in order [in this case a field update on field "Active" set to "Yes"
any more rules?
no.. ok, summaries, one update performed
end this workflow
end all workflow
Even workflow that will not be executed will appear if they are on an object type, only on the lines regarding "CRITERIA" they will say false, and the execution will simply immediately exit. Hopefully this makes sense!
The administrator has disabled public write access.
The following user(s) said Thank You: robert_sinclair
Time to create page: 0.099 seconds
Powered by Kunena Forum