how to pass a cdt through an interface

Certified Associate Developer
Happy Friday Appian Community ,
I cannot figure out how to pass data though an interface a second time.
I have tried to copy how it was done in the first write to data store.
maybe I am trying to save it in to many different places?
here is my submit buttons code: 
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"
      )
    },
here is my user form input
output
write to data store input
output:
anything you could advise would be helpful.
thanks,
Kevin

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to Chris
    Additionally, remove the "a!save(ri!userInformation,ri!userInformation)" in both submit buttons. 

    Shoot, I missed the fact that that was still there - it was the first save previously i think, so wasn't looking at the end of the save list.  luckily i think in this case it wouldn't be causing anyhing to get lost since the a!save()s are executed in order, so it would just be (redundantly) saving its current value back into itself.

Children
No Data