Skip Navigation
Expand
Configuring Oracle B2C Service to answer and close an incident automatically
Answer ID 812   |   Last Review Date 01/04/2024

Is it possible to configure Oracle B2C Service to answer and close an incident automatically based on the subject of the question?

Environment:

Standard Text, Business Rules, Incidents
Oracle B2C Service

Resolution:

It is possible to configure an auto-response based on the value of the summary field. You can configure a workflow rule to append a response to the incident thread, send the response to the end-user, and set the incident status to Solved.

To do this, here is an outline of steps to use:

1. Using Standard Text to create a standard response to be appended to the Response / Solution field of the incident. When creating the standard response, ensure that the Rules Text check box is checked.
 
2. Next, create the incident business rule. 
a. For .NET console Open Configuration -> Site Configuration -> Rules and click "Edit" for incident type rules.
b. For BUI console Open Configuration -> Site Configuration -> Rules -> Incidents  and click "Edit Rules" on the ribbon 
 
3. On the initial State section
a. For .NET console -> In the left-hand panel, right-click on the initial state and select Add Rule.
b. For BUI console -> On the initial state rule (if none available click Add New and create an Initial State) click the actions button (3 dots at the far right hand side) and select Add a new Rule and name give it a name.
 
4. Set the IF condition to read: If Incident.Summary MATCHES REGULAR EXPRESSION unsubscribe (or specific text you wish). If necessary, define additional IF conditions for your rule.
 
5. In the THEN part of the rule, click Add Action and select Append Thread > Append Response Template to Solution Field.
 
6. Click the name of the response to append.
 
7. Add an additional action and select Email > Send Email Response to Sender.
 
8. Add another additional action and select Set Field > Status. Select Solved from the Set Status to drop-down menu.
 
9. To finish with this process
a. For .NET console -> Activate the rule base.
b. For BUI console -> Click Save and go back to incident edits -> click Deploy to activate rule


For more information, refer to these published answers:

Answer ID 483: Creating standard responses for incidents and chat requests

Answer ID 1001: Configuring a rule that sends a standard response to the customer