This topic contains 7 replies, has 0 voices, and was last updated by eleran 9 years, 8 months ago.
-
AuthorPosts
-
December 19, 2014 at 1:12 pm #10120
eleranI have been tasked with creating a workflow that will be on the lookout for any sales order entered that totals $10,000.00 or more. That order needs to go to Pending Approval status and email the sales manager. I know how to do everything except find the sales order. I am assuming it is in the workflow itself and it is a condition, but I have been unable to get it to work so far.
Any help would be appreciated.
This is a cached copy. Click here to see the original post. -
January 21, 2015 at 2:11 am #10121
dmatyasWorkflow is always defined for a particular record type (e.g. Sales Order) and event (on Create, on Update). Once transaction of that type gets created a workflow instance is created automatically as well either at transaction creation or when transaction is updated.
-
January 22, 2015 at 7:00 am #10122
eleranI get that part. What I do not know how to do is tell the workflow to check the total of the order and see if it is $10,000 or more. What field do I have it look at?
-
January 23, 2015 at 4:42 pm #10123
dmatyasSimply create condition (use condition builder) on a transition. The condition could be something like: Total >= 10,000. Make sure that you have transitions in correct order. This transition should be first in the transition list. Check the order on the Workflow State detail page > Transitions tab.
-
January 26, 2015 at 9:18 am #10124
eleranThis is really frustrating. I have created the workflow and given it a state. The state is a set field value state. Parameter is Order Status=Pending Approval, Trigger entry, event type is create, context is user interface or web store, and condition is Total Amount>=10000.00
When I look at the transitions tab it has no records to show. I have 2 other workflows with similar setup except they are looking for certain order creators and changing those orders to pending approval. Those workflows work and this one does not.
-
February 25, 2015 at 3:30 pm #10125
sklettDo you only want to enforce this rule when the order is created? What if someone edits the rate later and it’s exceeds $10K?
Not sure what you mean by “transitions tab”, sounds like your WF has a single state?
Do you have logging enabled? If so what does the log show?
-
February 26, 2015 at 5:06 am #10126
dmatyasWhat is your deadline for this task? To make life easier we delivered (in 15.1 release) new feature – Workflow Templates – where exactly your case is covered. You have to simply select a Template and workflow will be created for you. You can tweak it as you wish afterwards.
The only drawback is that you have to wait until your company is switched to 15.1 release.
-
February 26, 2015 at 9:24 am #10127
eleranThat works then. We are due to be switched in less than 20 days. We have lived without this for this long we can go a couple more weeks. Thanks for the update.
-
AuthorPosts
You must be logged in to reply to this topic.