Skip to content

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

@fkramer690

Description

@fkramer690

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    new ruleA new suggestion for a best practice to be included in the scanner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions