Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图从 Elsa 工作流程中的液体中获取变量的值,但它不起作用,它只是在 c# 代码中显示变量的名称。
您在屏幕截图中显示的值是正确的:该Body属性为您提供未解析的内容。
Body
要获取解析的内容,请使用expressionEvaluator您在OnExecuteAsync方法中提供的服务。你已经做了:只要确保检查(并使用)body变量。
expressionEvaluator
OnExecuteAsync
body