I have a scenario of state machine workflow for a Helpdesk project. In this ticket workflow need to maintain. we are using form library and a state machine workflow is associated with it which will execute on item creation and change.
We have states likes 1-New (When new ticket will create, mail will send to requestor) 2-Assigned (When that ticket is assigned to some engineer, mail will send to that engineer) 3-SendApprovalNotification (When engineer give the email id of approver manager, mail will send to him/her) 4-ApprovalStatus(when approver will approve/reject the ticket, mail will send to engineer) 5-InProgress (when ticket is being solved and communication is happen with requetor) 6-close(when ticket resolved, mail send to requestor)
Now in my case when I create a new ticket using infopath form, a new item adds to form library and mail send to the requester. But when ticket is assigned to any engineer and its status changes to assigned then mail send to the engineer as well as the SendApprovalNotification state is being executed automatically. while ideally it should wait in SendApprovalNotification state.
I have changed the correlation token of Assigned and SendApprovalNotification state in many combination but no luck.
Please help..