cancel
Showing results for 
Search instead for 
Did you mean: 

How to use date condition in Dead line monitoring in workflow

Former Member
0 Kudos

Hi Guys,

I have to copy & modify leave request workflow (WS12300111) . if employee sent a mail to approver for his leave request . If approver didn't see mail and leave date is reached , leave should be "Approved" automatically. How to do ?. using dead line monitoring ? .

If example

employee requested leave from 31.12.2007 to 4.1.2008 but approver didn't see mail till 30.12.2007 11:59 then leave should be "Approved" automatically.

Thanks in advance .

Accepted Solutions (0)

Answers (1)

Answers (1)

sukhbold_altanbat
Active Participant
0 Kudos

Hi Sureshkumar,

if you go into the Approval Process step, then you will find latest end tab.

-choose workflow creation since the expiry date starts counting from the date of the employee requested leave.

-give 3 months which your provided expiry date.

-choose modeled

-give any outcome name then save the step

you will note extra brunch is added to approval step when you come back to the workflow.

I guess you can add a step to this brunch which does your automatic approval.

Regards,

Sukhbold

martin_nooteboom
Active Contributor
0 Kudos

>

> Hi Sureshkumar,

>

> if you go into the Approval Process step, then you will find latest end tab.

>

> -choose workflow creation since the expiry date starts counting from the date of the employee requested leave.

Why? Since you want the deadline to be at the start date of the leave request use expression and not workflow creation.

>

> -give 3 months which your provided expiry date.

3 months? Where did you get that from? Just use the start date of the leave request and as time use 00:00:00

>

> -choose modeled

>

> -give any outcome name then save the step

>

> you will note extra brunch is added to approval step when you come back to the workflow.

>

> I guess you can add a step to this brunch which does your automatic approval.

And how would you end the workflow? In the brach of the modeled deadline use a process control step to end the original task, this will provide you with another outcome in which you do the approval.

Regards,

Martin

Former Member
0 Kudos

>

> you will note extra brunch is added to approval step when you come back to the workflow.

>

> I guess you can add a step to this brunch which does your automatic approval.

>

I always thought brunch was a late breakfast and early lunch, isn't that so?

However, on a serious note, I agree with Martin's suggestion. You need to set the original step to 'obsolete' and then set the status of the leave req to APPROVED in the outcome for Latest End.

Good Luck

Ravi