elsa-workflows / elsa-core

A .NET workflows library
https://v3.elsaworkflows.io/
MIT License
5.87k stars 1.06k forks source link

[BUG]An error in example of c# expression in documentation. #5276

Open augustunbear opened 2 weeks ago

augustunbear commented 2 weeks ago

Description

An error in example of c# expression in documentation.

it should be Variables.

image

glime-ai[bot] commented 2 weeks ago

Thank you for bringing this to our attention. Based on the context provided, it appears there is a typo in the C# expression example in the documentation. The correct syntax should indeed use Variables instead of Variable when accessing a workflow variable.

The correct example should be:

Variables.Get("MyVariable")

instead of:

Variable.Get("MyVariable")

I will forward this to the documentation team to correct the example in the documentation. Thank you for helping us improve the accuracy of our documentation.

This comment was generated by Glime.