I am trying to draw a sequence diagram for "post a job" use case.
The description is as follow:
- This use case begins when the employer selects the “Post a new Job” option.
System displays the job form.
The employer fills the form with the following information: Job title, type and category (selected from a list), Job description, Job requirements (required skills and qualifications). Any other specific instructions or notes.
The employer selects application method: through the website or as instructed in step 5 and submits form.
System displays an option whether he/she wants to post another job or continue to payment.
The employer selects “proceed to payment” option.
System calculates the total amount.
System displays the amount and asks the user to press “confirm”.
The employer confirms the amount.
Make payment use case is performed.
System displays a message that job/s are posted successfully and direct to main employer page.
- Post Multiple Jobs
If in step 5 of the basic flow the employer decides to post a second job then:
Steps 3-5 are repeated
A 10% discount is applied to the total if 3 or more jobs are posted (step 7).
The use case resumes with step 6
I am facing two issues:
In step 5, how can I represent "post another job" and "continue" options? and the employer choice.
In step 1 in alternate flow, how can I represent repletion of previous steps?
Here is my attempt: