Menu
Welcome, Guest
Username: Password: Remember me

TOPIC: Workflow executed right away?

Workflow executed right away? 7 months 1 week ago #75314

  • robert_sinclair
  • robert_sinclair's Avatar
  • Offline
  • Premium Member
  • Posts: 128
  • Thank you received: 17
  • Karma: 3
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? 7 months 1 week ago #75346

  • ashish@outrightcrm.com
  • ashish@outrightcrm.com's Avatar
  • Offline
  • SuiteCRM Is My Life
  • CTO at outright Systems
  • Posts: 332
  • Thank you received: 32
  • Karma: 4
When you want to execute your code , if not just after save ?
The administrator has disabled public write access.
The following user(s) said Thank You: robert_sinclair

Workflow executed right away? 7 months 1 week 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

Workflow executed right away? 3 months 1 week ago #79932

  • prabha999
  • prabha999's Avatar
  • Offline
  • New Member
  • Posts: 1
  • Karma: 0
From the start of a workflow execution to its completion, Amazon SWF interacts with actors by assigning them appropriate tasks, either activity tasks or decision tasks. The following diagram shows the life cycle of an order-processing workflow execution from the perspective of components that act on it.
Workflow execution goes into the standard debug logs. If you navigate to Setup > Logs > Debug Logs and click "New" on the monitored user's list, and start monitoring a user who will execute a workflow scenario probably yourself, right? you can then perform the intended action on the relevant record (which depends on your WF object type.
When you have done so, return to the log page and you will see a list of log files generated by these actions - hopefully, you can find the right one
www.besanttechnologies.com/training-cour...institute-in-chennai

www.trainingbangalore.in/devops-training-in-bangalore.html
The administrator has disabled public write access.
Time to create page: 0.042 seconds
Powered by Kunena Forum