How can I make a workflow that if a sales order th...
# general
k
How can I make a workflow that if a sales order that is imported via CSV is over 3,500$ , the ship carrier and method are specific selections? (new to workflows so if. this is possible as layman instructions as possible LOL)
m
First create your workflow setting it to the Transaction Type and Sales order Subtype
Make it an event based work order by marking the On Create checkbox
Then in State 1 add a Set Field Value action (Before Record Submit). to set the field Ship Via to [whatever you want your hsip method to be] Add a condition of Total > $3500
Also add CSV Import in the Context box
message has been deleted
s
Will On Create catch it if a CSV builds line by line, ie the later adds will be EDIT not CREATE?
k
ahhhh thank you @MGBC!!
@MGBC Could I create a WF to change the ship via like this , but specific to customer? If so how would I tell the WF the customer?
m
@Stuart Anderton yes if the transaction is created by CSV it will work even if multiple lines are in the CSV. However, If you are trying to update or change the lines on an existing transaction via CSV then your would need EDIT as well.
👍 1
@Kendra Borkholder yes just add a condition in your Set Field Value action of Customer = XXXX then the action would only triggger for that specific Customer
k
@MGBC is it possible to select multiple customers for a specific workflow? or do you have to create a new workflow action for each customer ?