Skip to Main Content

Intelligent Advisor

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Include incident reference on submitted attachments

Jonathan TaylorFeb 4 2021

Hello,
When the interview is submitted, an Incident is created in RightNow, and a form document (RTF) is generated, and attached to the incident as a file.
We would like to show the incident reference (e.g. 210204-000001) on the attachment. Which seems to me to be quite a reasonable, simple requirement.
So I:-
* Created a "referenceNumber" attribute, and mapped it IN to Incident- "load after submit". (which is reasonable, since this isn't known until the incident is created).
* Referred to this item in my form document .
However - the attribute always shows in the document as "Unknown".
NOTE: We had a bug where 2 incidents were created - and it DID show the "first" (but wrong) incident reference - so there is nothing wrong with the BI Publisher fields in the form document.
I suspect what is happening is:-

  1. The RTF is generated (mailmerged) against the OPA attributes. At this point referenceNumber is null, since the incident hasn't been created.
  2. The incident is created - but the referenceNumber generated is "lost" to the form document in (1)
  3. The document is attached to the incident.

I've searched, and I can't find a solution to this. In effect, I want to swap steps (1) and (2) around.
Is there a solution to this, or do I have to come up with my own reference number, populated before submitting the interview?
Thanks.

This post has been answered by Fiona Guy-Oracle on Feb 5 2021
Jump to Answer
Comments
Post Details
Added on Feb 4 2021
2 comments
96 views