Skip to main content
16-Pearl
October 16, 2024
Question

How to customize Promotion Request task subject in UI

  • October 16, 2024
  • 2 replies
  • 1351 views

Hi All,

Is there any api to customize content of Subject of Promotion Request Task?? I was able to change Subject of emaill notyfication. Now I need to do this same i UI.

 

Gucio_0-1729091014382.png

Thank you in advance for any advice.

2 replies

Catalina
Community Moderator
October 18, 2024

Hi @Gucio 

Thank you for your question!

Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Also, feel free to add any additional information you think might be relevant. 

 

Best regards,

Catalina | PTC Community Moderator
18-Opal
October 21, 2024

@Gucio ,

 

It is doable to change the OOTB task 'Subject' in the UI.  See image below.

As you can see. ONLY tasks from Promotion Request workflows will get the added text.

 

d_graham_0-1729468752342.png

 

You never stated EXACTLY how you wanted to change the OOTB display of the task 'Subject' so I just added some static text to show it can be done.

 

David

Gucio16-PearlAuthor
16-Pearl
October 22, 2024

I will try to explain in more details.

 

For Promotion Request email notification subject - I've modified General*.html files from codebase\templates\workNotification. As a result new mail subject contains some variable taken from Promotion Request workflow. My gol is to have this same subject for task in UI. Can you guide me what should I do?

 

Gucio

18-Opal
October 22, 2024

@Gucio ,

 

Can you tell me the name, display name and data type of each of the variables and EXACTLY how you want them to appear in the 'Subject'?

 

Are you keeping the OOTB Subject display and simply appending the variable to it?

Do you want the variable to be at the start of the 'Subject'?

 

Please be very clear with EXACTLY how you want the 'Subject' to appear.

A screenshot of your workflow variables and exactly which ones should appear and where/how they should appear in the 'Subject' would be helpful.  This would eliminate anymore back and forth on questions on my part.