Menu
SuiteCRM dedicated support by SalesAgility
Welcome, Guest
Username: Password: Remember me

TOPIC: Workflow executed right away?

Workflow executed right away? 4 days 23 hours ago #75314

  • robert_sinclair
  • robert_sinclair's Avatar
  • Offline
  • Senior Member
  • Posts: 64
  • Thank you received: 7
  • Karma: 0
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 days 12 hours ago #75346

  • Outright Systems
  • Outright Systems's Avatar
  • Online
  • New Member
  • CTO at outright Systems
  • Posts: 15
  • Thank you received: 1
  • Karma: 0
When you want to execute your code , if not just after save ?
SuiteCRM developer / CRM Enthusistic
Founder and Chief Technology officer @Outright Systems Pvt. Ltd.
outrightcrm.com
Feel free to reach me at skype: ashdwi1
The administrator has disabled public write access.
The following user(s) said Thank You: robert_sinclair

Workflow executed right away? 2 days 22 hours 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.071 seconds
Powered by Kunena Forum