Rejected State
After you set up the Approved state to approve order quotes and send an email to the sales rep, set up the Rejected state. Create a Set Field Value action to set the Approval Status to Rejected and create a Send Email action to notify the sales rep that the order quote was rejected.
To set up the Rejected state:
Now that the workflow setup is complete, test and then release the workflow. To continue with the order quote approval workflow example, go to Testing the Order Quote Approval Workflow.
-
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 the Rejected state.
-
In the context panel, on the State tab, click New Action.
-
In the New Action window, click Set Field Value.
-
Enter the following properties.
Section
Property
Value
Basic Information
Trigger On
Entry
Parameters
Field
Approval Status
Value
Static Value
selected
—
Selection
Rejected
-
Click Save.
-
-
To create the Send Email action, do the following:
-
In the Workflow Manager, click the Rejected state.
-
In the context panel, on the State tab, click New Action.
-
In the New Action window, click Send Email.
-
Enter the following properties in the Parameters section.
Section
Property
Value
Sender
From Field
selected
Record
Sales Rep
Field
Supervisor
Recipient
From Field
selected
Record
Current Record
Field
Sales Rep
Content
Custom
selected
Subject
Your Estimate Has Been Rejected
Body
Estimate {
TRANID
} has been rejected by your supervisor.Include View Record Link
checked
Note:{
TRANID
} translates to the ID of the referenced transaction. For more information about the use of internal IDs, see Using Internal IDs. -
Click Save.
-