Appian Community and Appian Academy are being upgraded. From July 24–August 3, the Appian Community will be in read-only mode. During this time, the site will be read-only and user registration will be disabled. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
Hi All,
I have a CDT named as Process_data in which there is a field called buttonAction of type text. I am trying to map that cdt rule input to a text value as ri!process_data.buttonAction = "Submit", but receiving below error. Please suggest how do I cast and fix this issue. Thanks in advance.
Error: Expression evaluation error at function 'tostring' parameter 1 [line 66]: Could not cast from Text to Process_data. Details: CastInvalid
Discussion posts and replies are publicly visible
Hi Meena,
In a!buttonWidget(
label: "Submit",
value:"Submit",
saveInto:{
a!save( ri!process_data.buttonAction, save!value)
}
)
In above code, the value parameter, what ever text you enter, it will be saved to cdt column, when the button is clicked. Make sure your cdt column is string.