Skip to content

Support for Returning Multiple Values in OutputExpression #702

Description

@InsiyaNeo

I want to include multiple local parameters in the output of a rule. Here's a simplified version:
"Actions": {
"OnSuccess": {
"Name": "OutputExpression",
"Context": {
"Expression": "new { TempValueA = TempValueA, TempValueB = TempValueB, FinalResult = TempValueB / input.TotalUnits }"
}
}
}

But I get this error:
Exception while executing OutputExpressionAction: Expression is missing an 'as' clause
When I try to return in the above way.
How can I return multiple values from OutputExpression? Is there a supported way to include local params in the output?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions