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

Index and length must refer to a location within the string. #27

Closed
mlaraibkhan opened this issue Oct 13, 2023 · 2 comments
Closed

Index and length must refer to a location within the string. #27

mlaraibkhan opened this issue Oct 13, 2023 · 2 comments

Comments

@mlaraibkhan
Copy link

Describe the bug
Using New-LogicAppDoc.ps1 to generate a docs/diagram for a logic app, however got this error.

Where-Object: C:\Code\LAdocs\logicappdocs\src\Helper.ps1:173:36
Line |
 173 |  … ($Actions | Where-Object { $_.RunAfter -eq $(('{0}-False') -f $(($cur …
     |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Exception calling "Substring" with "2" argument(s): "Index and length must refer to a location within the string. (Parameter 'length')" 


@stefanstranger
Copy link
Owner

Hi @mlaraibkhan,

Sorry for the late response. Can you share the anonymized logic app code so I can test this?

@stefanstranger
Copy link
Owner

Closing the issue because not getting a response for a couple of months.

@mlaraibkhan please download the latest version of the tool and let me know if this resolved in the latest version.

Regards,
Stefan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants