Hi All,
Kind of new to Appian, so perhaps the question seem dummy / I am taking a wrong approach.
I have data collected from a process from which I want to have a related action that copies all the data from a record / CDT and reset some values (like some Boolean for approvals that are in my CDT).
To get the data from the record I do something similar to this
{ APP_CommentLog: null, APP_Request: { rule!APP_GetRequestById( rp!id ), }
then I call the same process model that initiated with a start form so I want to pass it the data a bit "manipulated". The Problem is that by Query Rule gives me returns a complete CDT from the DB, including some values that I want to reset like and the ID (so it does not update the same record but create a new one). What I would like to do is an Expression Rule that calls the Query Rule APP_GetRequestById, and returns me the CDT with the ID set to null and the approvals flags too.
I guess I need to use a load() function, but are those not only reserved to forms? - And if it is like that, I did not managed anyways to overwrite the values with a!save() and return the CDT manipulated.
Any thoughts?
Thanks!
Discussion posts and replies are publicly visible