I have a process that needs to store entities and alerts in different tables.
Is there a way to get the ID of the newly created entity directly from the Write Record Smart Service, without having to perform an additional query from the record or database?
Here is the example of process:
Discussion posts and replies are publicly visible
Hello bleronakajtazi
You can configure it from the Write records node outputs using the Records Updated.
docs.appian.com/.../Write_Records_Smart_Service.html
Hi Konduru Chaitanya thanks for your answer. I tried in this way, but I lost other details for entity(e.g entity name), that I need to use for another reason in the same process.
Not sure what you have done there, Can you try using the custom output and use the same record variable that is passed for the input value.
Can we know the version of the environment ?? Write records behaves like this way back in 23.4 (With new versions you get all the input data). Only option is to queryback the data and using primary key Just like Konduru Chaitanya mentioned
The environment version is 24.2, but I'm still experiencing data loss as I mentioned earlier. However, I’m following the approach explained by ) Konduru Chaitanya so thank you for that! Until now, I’ve been querying, but since the process is a bit complicated, I would like to refactor it to minimize querying data from the record as much as possible.
Then it should work fine, that's odd . By any chance are you still using Write records 23.4 version node??