I would like to highlight one difference between these two types if recordId variables, First one can capture id of any object record but in case of second one, you have to define the object before placing the flow on an object hence second recordId variable is specific however the first one is generic. Let me know your thoughts on this
That's correct! What you choose depends on your flow requirement because - 1. Unless you only want the recordId and not any other data of that record in you flow, you can create a text variable but if you do need the data then the second option means less efforts and elements. 2. Yes, it is specific to an object because we are defining the object name in the variable but just think if you are putting the flow on a record detail page, isn't is anyways going to be specific for that object?
Awesome
I would like to highlight one difference between these two types if recordId variables, First one can capture id of any object record but in case of second one, you have to define the object before placing the flow on an object hence second recordId variable is specific however the first one is generic. Let me know your thoughts on this
That's correct! What you choose depends on your flow requirement because -
1. Unless you only want the recordId and not any other data of that record in you flow, you can create a text variable but if you do need the data then the second option means less efforts and elements.
2. Yes, it is specific to an object because we are defining the object name in the variable but just think if you are putting the flow on a record detail page, isn't is anyways going to be specific for that object?