Highlighted
Absent Member.. Absent Member..
Absent Member..
138 views

Catalog item field to be populated in the Interaction Email


Hi Experts,

We are trying to configure the cart item decscription field into interactions from svccartitem table , after trying the below script it still taking random value during the first email trigger , however the other emails after interaction is raised has perfect value in cart.item only the intiial email trigger has issue , when checking RAD debugger after interaction is created the value for cart.item has right value for which the request is created for  , the issue is only with first email sent out.

 

sl-function newparamadd(number){
var myCartItem = new SCFile("svcCartItem");
if (myCartItem.doSelect("cartId=\"" + number + "\"")==RC_SUCCESS){
return myCartItem.item_description;
} else return "No Item";
}

 

trigger : before update

record.cart_item = lib.Catalogadd.newparamadd(record.cartId);

0 Likes
2 Replies
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: Catalog item field to be populated in the Interaction Email

Hi,

 

THis KM might help you with your question: https://softwaresupport.hp.com/group/softwaresupport/search-result/-/facetsearch/document/KM1438325

Thanks and Regards,

If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: Catalog item field to be populated in the Interaction Email

Hi,

 

The document shows for existing field , however we are using SM 9.33 and the KM document says about 9.2, we need the catalog name to be copied to email which is sent .

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.