Expand my Community achievements bar.

Points need to stored when submitting the form in web application

Avatar

Level 4

Hello Team 
Actually there is requirement like user has to fill the form regarding the loyalty program 
When they have submitted additionally the points has to be stored in respective schema attribute.
and There is a 2 pages in web app 
1 st page is to record the users interest on loyalty program 

2nd page is simply thankyou page.

and we do have preload activity and storage activity to store and update 

FYI :Here is the script used in javascript activity to store additionally 50 points in schema attribute placed this after a page activity

vani97_2-1715770252733.png

But getting this error also ponits values not stored

vani97_1-1715770229967.png


and this is the flow of web app

vani97_0-1715770204702.png

 

1 Reply

Avatar

Community Advisor

Hello @vani97 

 

add the tCustId={value} to your xml code and it should work.

 

replace value with actual customerId


     Manoj
     Find me on LinkedIn