Hi Community Team,
I'm facing issue to store multiple values in Database, My task is to accomplish to add multiple comments in a interface section layout. I need to store them by saving them into Cdt.
User Scenario: For each comment it needs to generate new Primary Key.. Data need to be entered in a new row for each comment.
Discussion posts and replies are publicly visible
It should work. Can you please share the latest code ?
We can achieve it by without passing the parameters into the cdt.. Need to configure output of Script task of Process Model.
The code here it works me in interface is: addRowlink: a!dynamicLink( label: "Add new comment", saveInto: { a!save( ri!mention, append( ri!mention, 'type!{urn:com:appian:types:CT}CT_Comments_ID'() /* rule input, type!cdt Name */ ) ) } )
addRowlink: a!dynamicLink( label: "Add new comment", saveInto: { a!save( ri!mention, append( ri!mention, 'type!{urn:com:appian:types:CT}CT_Comments_ID'() /* rule input, type!cdt Name */ ) ) } )
Unknown said:If you are writing to the request table after form submission then update the value in requestId of Comment Cdt with the generated primary key of Request table.
This is exactly what I meant when I said this.