Estimate Creation State
After you create the states for the order quote approval workflow, you can configure the Estimate Creation state. This state is the point in the workflow where the workflow sets the initial value of the Approval Status field and determines if the estimate requires approval. To set up State 1, create a Set Field Value action and set up the transitions.
To set up Estimate Creation:
-
Make sure the Order Quote Approval workflow is open as defined in Create the Order Quote Approval Workflow States, Actions, and Transitions.
-
To create the Set Field Value action, do the following:
-
In the Workflow Manager, click Estimate Creation.
-
In the context panel, on the State tab, click New Action.
-
In the New Action window, click Set Field Value.
-
Enter the properties listed in the following table.
Section
Property
Value
Basic Information
Trigger On
Entry
Parameters
Field
Approval Status
Value
Static Value
selected
Selection
Pending Approval
-
Click Save.
-
-
To set up the transition to Pending Approval if the sales rep for the estimate has a supervisor, do the following:
-
In the Transitions tab, click New Transition to open the Workflow Transition window.
-
In the Basic Information section, select Pending Approval from the To dropdown list.
-
In the Condition section, select Visual Builder.
-
Click the Open icon to open the Condition Builder.
-
Check the Use Expressions box.
-
Create a condition with the following properties:
Construct the formula, adding in three rows as shown in the following table.
NOT
P
ARENS R
ECORD FIELD
COMPARE TYPE
VALUE
S
ELECTION R
ECORD VALUE FIELD
P
ARENS AND/OR
(
Total
less than or equal
7000
And
Sales Rep
S
upervisor not empty
And
C
ustomer Overdue Balance
less than or equal
0
)
Or
Total
greater than
7000.00
-
Click Add, and then click Save to save the condition.
-
Click Save to save the changes to the transition.
-
-
To set up the transition to the Approved state if the sales rep for the estimate has no supervisor, do the following:
-
In the Transitions tab, click New Transition to open the Workflow Transition window.
-
In the Workflow Transition window, in the Transition On field, select Entry.
-
In the Basic Information section, select Approval from the To dropdown list.
-
In the Condition section, select Visual Builder.
-
Click the Open icon to open the Condition Builder.
-
Check the Use Expressions box.
-
Create a condition with the properties listed in the following table.
NOT
P
ARENS R
ECORD FIELD
COMPARE TYPE
VALUE
S
ELECTION R
ECORD VALUE FIELD
P
ARENS AND/
OR (
Total
less than or equal
7000
And
Sales Rep
S
upervisor empty
And
C
ustomer Overdue Balance
less than or equal
0
)
-
Click Add, and then click Save to save the condition.
-
Click Save to save the changes to the transition.
-
To continue with the order quote approval workflow set up, go to the Pending Approval State.