origam.com

Are virtual fields available on state machine actions?

Can I find a ‘current value’ at a mapping by a statemachine action a virtualni field, that has been set by a change that triggered the action?

1 Like

I tested it and it worked for me - the value of virtual field was available to the statemachine action workflow. So that the virtual fields could be used to pass aditional information to statemachine actions.

And can I use State Workflow/Event of Original or ChangedFlag type with Virtual or Function Call field?
I’m trying to hand over the ChangedFlag state of Function Call field IsApproved as a parameter from the state machine to the sequential workflow:

I’m getting the error message:

Field mapped to a workflow context not found in the provided data row. Cannot execute workflow.
Parameter name: Field
Actual value was IsApproved.

So just Current value is available?