Highlighted
Absent Member.
Absent Member.
299 views

Creating a link in email notification for external URL

Jump to solution
We are implementing survey functionality after close of interaction. In interaction close email, we want to send a link to some external url and want to append the Interaction is and user id as query string in that url.

i.e.:
http://aaa:8080/test?scid=22222&Email=aaa@aaa.com

Can any body help me in creating this url.
0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.. Absent Member..
Absent Member..
1 Tailoring->Notification->Notifications
search "SM Update" in the name field.
and add new record.
Msg Class:sm
Msg No:
Arguments: any(to use subject)
Condition: true
Format:
Notify Method:email
Recipient:(aaa@aaa.com)

you can use variable in Recipient
2. Tailoring->Notification->Mesages
search ("sm") in the Class
add new MessageID is set at Msg No in notofication if you need.

3. make new form is set at Format in notification.
The new form contain textlavel and set its input to the $L..

4. set $L. in your format control calculation.
add:true
update:true
calculation:
you make $L. for your
$L.="http:xxxx="+incident.id+""

If you faile to send $L. from fc to notification, please try $G.

View solution in original post

0 Likes
8 Replies
Highlighted
Absent Member.. Absent Member..
Absent Member..
Hi.

You can use notification enginee.
In notificatio, you can set the mail form in format column.

So you can make a new format contain the field and set the $L.xxxx in its input.

After that you should make $L.xxx in format controle etc.(For example, $L.xxx="http://www.hp.com")

If local variable isn't success, you'll try gloval variable.



0 Likes
Highlighted
Absent Member.
Absent Member.
Thanks for your reply. However i am not expert in SM. Is it possible for you to explain this in little more detail.

0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..
1 Tailoring->Notification->Notifications
search "SM Update" in the name field.
and add new record.
Msg Class:sm
Msg No:
Arguments: any(to use subject)
Condition: true
Format:
Notify Method:email
Recipient:(aaa@aaa.com)

you can use variable in Recipient
2. Tailoring->Notification->Mesages
search ("sm") in the Class
add new MessageID is set at Msg No in notofication if you need.

3. make new form is set at Format in notification.
The new form contain textlavel and set its input to the $L..

4. set $L. in your format control calculation.
add:true
update:true
calculation:
you make $L. for your
$L.="http:xxxx="+incident.id+""

If you faile to send $L. from fc to notification, please try $G.

View solution in original post

0 Likes
Highlighted
Absent Member.
Absent Member.
i added local variable in fc of incident. But it is not getting picked by notification. Can you tell me steps for using $G

0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..
it's same.

you should change $L. to $G..
0 Likes
Highlighted
Absent Member.
Absent Member.

Great , $G works. however i not able to figure out how can i get the email address of caller from interaction. Do you have any quick idea.
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..
Please refer other sample of default setting in notification.

and in format control you can use xxx in $file and "+xxx in $file+".

There are many sample in default SM7.
0 Likes
Highlighted
Absent Member.
Absent Member.
see above
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.