SetVariable evaluates an expression and assigns the result to a declared variable in the main scope.
| 20 | // SetVariable evaluates an expression and assigns the result to a |
| 21 | // declared variable in the main scope. |
| 22 | type SetVariable struct { |
| 23 | engine.LinearNode |
| 24 | variable workflowapi.Reference |
| 25 | value workflowapi.Expression |
| 26 | } |
| 27 | |
| 28 | // NewSetVariable builds a SetVariable node. |
| 29 | func NewSetVariable(id string, variable workflowapi.Reference, value workflowapi.Expression) *SetVariable { |
nothing calls this directly
no outgoing calls
no test coverage detected