Transferring Rule input from one interface to another

My first interface page has a dataType entiity has a rule input, and I want to pass the same to the next interface. My code in the first interface is:

a!buttonWidget(
label: "Next",
value: local!activeStep + 1,
saveInto: {
activeStep: local!activeStep,
sampleData: ri!Add_budget
},

style: "PRIMARY",
showWhen: local!activeStep <> length(local!steps),
validate: true
)
},

In the above code the rule input which I want to pass is Add_budget, and in the second interface the name of the variable is stored as sampleData. But when I opent the second interface, I get the following error:

Any idea how to pass the rule

  Discussion posts and replies are publicly visible