Hi, I am new to workflows and trying to figure out...
# suiteflow
n
Hi, I am new to workflows and trying to figure out the best way to handle creating one in a workflow. Each Purchase Order has a department selection. Each department has a different approver. Do I need a new State for each department selection or can there be and "If X department, then approver is X employee, If Y Department then approve is Y employee, etc.
a
Create a custom field on your department record called dept Approver Set that field to the Approver for each department Then use that in your workflow to set the next Approver field
n
Gotcha. Have the approvers on the departments already, so I was halfway there. So after the first state is completed and then the purchase order is summited, the next state will be "Pending Approval" and on the Entry event set up the Next Approver with the condition of what department.
a
Use a set field value action Field = next Approver Field value = (record join) department (field) dept Approver
n
I think that is it?
a
Yes