Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In some cases, the flow scan reports unused variables even though they are used #89

Closed
maximeg44 opened this issue Dec 1, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@maximeg44
Copy link

maximeg44 commented Dec 1, 2023

Describe the bug
This is noticed when the variables are used in tags of the flow (in my opinion, this needs to be verified...).

To Reproduce
I have this description of formula :

PartnerSiteUrl
String
{!$Setup.CustomButtonsSettings__c.URLPartner__c}

And it's use in : 
<textTemplates>
    <name>BodyForPartnerAT</name>
    <isViewedAsPlainText>true</isViewedAsPlainText>
    <text>Some text  {!CreatedDate} blablabla href=&quot;{!PartnerSiteUrl}&quot;&gt;&lt;em&gt;Partenaire&lt;/em&gt;&lt;/a&gt</text>
</textTemplates>

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image
Desktop (please complete the following information):

  • OS: W11
@RubenHalman
Copy link
Member

RubenHalman commented Dec 8, 2023

Thank you for reporting this @maximeg44. I will add this as a bug to the project and hopefully well be able to fix it soon. It looks like this issue is with the core repository and should occur also in the sfdx app. is that something youd perhaps be able to confirm as well?

@RubenHalman RubenHalman added the bug Something isn't working label Dec 8, 2023
@RubenHalman
Copy link
Member

@maximeg44 thank you again for reporting this. it turns out this has not been resolved and occurs in both the vsce and sfdx plugin. Wewill close this and continue working on this in the thread Lightning-Flow-Scanner/lightning-flow-scanner-core#69

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants