We are on version 21.2.8.
I am having problems setting a session variable in javascript. I have a Selection Change dynamic action on an IG.
I have a set Set Value action with type javascript expression. it is set to this:
this.data.model.getValue( this.data.selectedRecords[0], "ID")
I then added an execute service side code action to submit that page item. When I look at session the page item is set as expected. When I redirect to another page or reload the page the page item is reset to null.
How do I make sure the page item is actually in session in a DA?
I also added this. it did not work:
apex.server.process('MY_PROCESS',{
pageItems: '#P1_ID'
},{dataType: "text"});