Hi All,
I want to use multiple data store entity node in my process model.
I am passing the input as below in the inputs tab of the node,
{ a!entityData(entity: cons!DSE1, data: {pv!data1}), a!entityData(entity:cons!DSE2, data:{pv!data2})}
But I need the outputs since I am passing that into sub process but I don't know how to save the outputs in pv!data1 & pv!data2 in outputs tab of the node.
could you please help me on this.
Thanks in Advance.
Discussion posts and replies are publicly visible
Hello. Have you taken a look at our documentation supporting this smart service? I believe it explains and shows an example of how to format an expression to capture your data using the indices of the entityData array: https://docs.appian.com/suite/help/22.3/Write_to_Multiple_Data_Store_Entities_Smart_Service.html
Thanks for your response. Yes I have seen that previously, but I not getting where to insert the below code in outputs tab,
StoredValues[1].data → pv!StoredOpportunities StoredValues[2].data → pv!AcmeAccount StoredValues[3].data → pv!NewNotes
Hi, You can create custom output and use ac!StoredValues[1].data and select the target and add another custom output for the second one and so on.
okay got it. Thank you !!