Auto-create "Incident" entity without Interview Entity Collection
SummaryAuto-create "Incident" entity without Interview Entity Collection
We have built an OPA Interview and successfully integrated with Service Cloud.
We have already setup entities in OPA rulebase like this.
- Financial Application Custom Object (child of Global)
- Incident (child of Financial Application Custom Object)
OPA Interview will collect information for Global(Contact) and Financial Application Custom Object. But, I need to create an "Incident" automatically and default/hard-code with following values, without showing it in the OPA Interview.
- Incident.Primary Contact = logged in contact
- Incident.Category = Financial Application
Also, there should be only one "Incident" instance..When OPA Interview resumes, it should not create another Incident.