I am building a simple app for bug tracking, and I am using a .NET Workflow Activity Library project with a State Machine, with the individual states representing the states for a bug - Reported, Assigned, and Completed.
I am able to use the WorkflowInspectionServices class to obtain the list of state transitions for the bug for each state. However, I am trying to:
- Determine the current state that a particular bug is in, and
- Change the current state, without using the trigger condition (I want to trigger the change through code when the user selects the state from the dropdown)
- Read the value of a variable within the workflow
How can I do these with a .NET Workflow?