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 vani97_2-1715770252733.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/73974i35BC0425694D1366/image-size/medium?v=v2&px=400)
But getting this error also ponits values not stored
![vani97_1-1715770229967.png vani97_1-1715770229967.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/73973iFF78FCB03D14F244/image-size/medium?v=v2&px=400)
and this is the flow of web app
![vani97_0-1715770204702.png vani97_0-1715770204702.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/73972iA6B865CA7DE6BF84/image-size/medium?v=v2&px=400)