Conditional Workflow

Hi,

How can i create a conditional workflow?

Following is the scenario of Leave Application:

  1. If leave days of leave applications is less then 5 then HR User can approve and submit.
  2. If leave days of leave applications is more then 5 then first HR User approve and then HR Manager approve and submit.

Not out of the box.

Strangely this is the third such request in a week. Can you sponsor this?