URL link of instance - Flow Designer - Action

Bent J_rgensen
Kilo Contributor

Hi,

From Design Flow, I would like to send an approval link in an email.

Unfortunately, I'm having trouble getting the URL string on the instance.

I have tried with "outputs.Instance_url_link = gs.getProperty ('glide.servlet.uri')" but no variables appear in the Output.

Is there anyone who can help?

find_real_file.png

 

Thanks, Bent

1 ACCEPTED SOLUTION

DScroggins
Kilo Sage

Hi Bent,

Can you use:

var instance = gs.getProperty('instance_name');

outputs.instance_url_link = 'https://' + instance + '.service-now.com';

Hope this helps.

--David

View solution in original post

6 REPLIES 6

Omkar Joshi
Giga Guru

Hi,

 

Please use send email activity instead of new action.

 

Regards,

Omkar Joshi

Hi Omkar

 

Thanks for you respons, but how would you insert approval link with correct URL on the instance, without scripting?

 

Regards, Bent