The CreatorCon Call for Content is officially open! Get started here.

Approval email and service portal short description is incorrect/different

Joshua Comeau
Kilo Sage

Ideally, I want to make the service portal short description of the RITM different but have the approval request email short descriptions unique.

 

Currently the way it is working now is each approval group in the workflow has a unique script that says by example:

current.short_description =   "Oracle iProc Approval Request";
 
But when we submit the request it randomly or takes the last triggered approval request and sets the ritm short description to be that 

example of flow of two approval requests being triggered at the same time:
JoshuaComeau_0-1705078842450.png

Example of service portal short description:

JoshuaComeau_1-1705078875241.png

ritm: 

JoshuaComeau_2-1705078932902.png

email:

JoshuaComeau_3-1705078999985.png

 

theory:

the email is understanding the short description change but how to make the service portal be dynamic while allowing the email of the approval request to be unique?

 

 

1 REPLY 1

Tony Chatfield1
Kilo Patron

Hi, unfortunately your post does not make your configuration or requirement very clear, but reading between the lines this occurs as you are updating the 'current' record, and as the platform batch processes notifications, all your emails see the last update to the short description when they are processed.

 

2 possible options to resolve this would be
1/ Trigger separate sysevents (for your notifications) in your workflow and pass in your 'short description' text as an event parameter, and then use this parameter to set the short description in your notification.

2/ Remove the functionality from your workflow and use a hard coded notification email script to set the text required.

 

Can you clarify the business drivers behind this requirement, as it is a little unusual and perhaps if this is understood there may be other\better solutions.