primaryButtons: { a!buttonWidget( label: "Approve", icon: "check", value: true(), saveInto: { a!save(ri!GFIM_User_Access_User_Information,ri!GFIM_User_Access_User_Information), a!save(ri!GFIM_User_Access_User_Information.supervisorsDecisionDate,now()), a!save(ri!GFIM_User_Access_User_Information.supervisorDecision,true) }, submit: true, style: "PRIMARY" ) },
Discussion posts and replies are publicly visible
In this case your Interface Output save for pv!User_Data is overwriting your interface updates. Only the Save Into from the Input tab is correct, you will want to delete the Output Save Into, as this is overwriting with the pv! value (what the variable was set at prior to the form save). If you had used ac!User_Data in the output this would function correctly but be redundant.
thanks I removed it and the other redundant things but it still does not save anything.
like there is no difference to the variables before and after
here is my process now
Can you confirm what your interface a!save()'s are now, and a screen shot of the node's Output tab?
In the first screen shot, the input variable is ri!User_Data, however the a!save()'s are using ri!GFIM_User_Access_User_Information.
In the second screen shot the variable name has changed to "userInformation".
Is this input being saved into within any other interface fields, or only on the Approval button save?
here is the output tab
here are my a!saves
I hope my screen shots answered your questions,
yes I am saving into that pv either if I approved or rejected
Thanks guys!
it is late Friday... Have a great weekend ,