Identify Step in Workflow through x++

Looking to figure out how to identify what step is being approved in a workflow using x++ code.

Created a workflow for approving the creation of items in the item detail screen. Three steps in workflow and want each step to uncheck the related stop field in the Item Default Setting Tables.

How can I tell what step has been approved so it can programmatically enable the item.

Thanks