i have created a workflow with sharepoint designer 2013 in which multiple notification email will be sent. 1st of all email sent to initiator that form is submitted after that it will sent to reviewer to review the form when the review status is accepted then it will be sent to approver to approve the form or if the reviewStatus is rejected mail will only sent to initiator that rework required. after approvalstatus is accepted last step is to close the form. i am new to sharepoint. This workflow is not working properly kindly help me to make this happen and i also want to break this workflow in steps like reviewtask, approval task and closure task.
If Current Item:Review Status is empty value
Email Current Item:Created By; Variable: Reviewer
Set Form Status to WaitingforReviewal
Set Variable: Reviewer to Current Item:Display Name
Set Variable: Approver to Current Item:Display Name
Set Variable: DMR(QA) to Current Item:Display Name
Else
If Current Item:Review Status equals Accept
Set Form Status to ReviewalAccepted
Email Current Item:Created By
Email Variable: Approver
Set Form Status to WaitingforApproval
If Current Item:Approve Status equals Approve
Set Form Status to Approved
Email Current Item:Created By
Email Variable: DMR(QA)
If Current Item:DMRstatus equals Closed
Set Form Status to Closed
Email Current Item:Created By
Else
If Current Item:Approve Status equals Reject
Set Form Status to Rejected
Email Current Item:Created By
Else
If Current Item:Review Status equals Reject
Set Form Status to Rejected
Email Current Item:Created By