lightning-flow-scanner-core icon indicating copy to clipboard operation
lightning-flow-scanner-core copied to clipboard

New Rule: check if recordId is saved as record and not as String

Open fkramer690 opened this issue 1 year ago • 4 comments

Since some releases, it is possible to pass the recordId as record to a screenflow by record page or quick action. This saves you one DML operation and you can directly access the whole record. So it would be helpful to check the flows based on this setting. I assume it is an easy one for you to check if the flow contains and return true/false

<variables>
        <name>recordId</name>
        <dataType>String</dataType>
        <isCollection>false</isCollection>
        <isInput>true</isInput>
        <isOutput>false</isOutput>
    </variables>

fkramer690 avatar Jul 20 '23 11:07 fkramer690