How to get the current instance name in the Workflow Notification Activity?

chikkala
Kilo Explorer

Hi All,

I have a reference variable on RITM which is linked to the change requests.I want to create the link to change request in the notification email body.

In this case, a workflow notification is being used.And am able to get the solution if I hard code the instance name directly.But I want to fetch the instance name using system property "instance_name".

Please suggest how I can achieve this .

find_real_file.png

I want the instance name to be fetched in the place 'XXXXX'.

 

Thanks,

Akhila

4 REPLIES 4

sachin_namjoshi
Kilo Patron
Kilo Patron

Please use below to get instance name

 

gs.getProperty('glide.servlet.uri')

 

Regards,

Sachin

Hi @sachin_namjoshi ,

 

This is not giving any output.

Can you please help?

RakshandaKunte_0-1684488854536.png

 

 

RakshandaKunte_1-1684488883444.png

 

Mileu
Kilo Contributor

Replace the instance name with this 

gs.getProperty("instance_name")

 

Namrata Ghorpad
Mega Sage
Mega Sage