Check db row updates after state variable sql
Access the request object in workflow
Do not return workflow instance from RepositoryService update/insert methods. Remove touching of created/modified fields. The storage layer keeps track of those automatically