You are viewing limited content. For full access, please sign in.

Question

Question

Escalation Branch only during business hours

asked on May 29, 2014

 We have a Business Process that, if not completed by a certain time (based on a user updating a Field), sends an email to a manager.  Let's say for instance that a job is started and a customer service user needs to verify an amount before changing a field so that it goes to the next step.  They have a 4 hour window to get this done before a manager is notified.  If they don't get it done in that time, we have an escalation branch that sends the email.

 

The problem is that if customer service gets assigned to the business process at, let's say, 4pm, and business hours are from 8am to 5pm, the manager doesn't need to be notified until 11am the next day.  The way it is working now, is that the manager gets the email at 8pm and this is useless since he has gone home for the day.  Customer service, also, has only actually had 1 hour to work on the process.

 

Any ideas if this can be accomplished?

0 0

Replies

replied on May 29, 2014 Show version history

Take a look at this and let me know if it looks like it would work for you. I can clarify further if needed.

 

0 0
replied on May 30, 2014

Thanks for your response.  I think this gets me on the right track, but looking at the flowchart, I don't think it will work properly.

 

First off, going by this flowchart, I think I'd have to set the escalation branch to zero, so that it runs immediately.  Otherwise, the Date Token Calculator wouldn't be calculated until the EscBranch is started.  If that was part of the design, I can set it up like that.

 

Secondly, I think that we still need a 4 hour delay on the Nope branch.  We just don't need to do any calculation since it would fall within business hours.

 

Let me know if I got this right.  I won't be in a position with our customer to test this for a few days.

 

Thanks.

0 0
replied on June 2, 2014

You're right. I think I missed something when I originally read your requirements.

This should be more like what you need:

replied on June 2, 2014

After some thought, I reworked it a little. How does this look?

 

0 0
replied on June 2, 2014 Show version history

I think I've got it.  I worked with the original "Escalation" scenario.  I also forgot to mention that the calculation needs to ignore weekends as well.  This is what I came up with.  Took me a while to figure out a way to check between Monday and Friday.  I've tested it and I think I've got the calculations and logic right.  Please review (Devin or anyone else) and let me know if this makes sense.

 

Thanks.

1 0
replied on June 2, 2014

OMG! I just realized that it is going to wait until Monday even if it's Tuesday.  Doh!  I have to add some more conditions.  Can't believe I missed that.

0 0
replied on June 2, 2014

Here it is updated:

0 0
replied on June 3, 2014

I don't see any issues. Good stuff.

 

The hard part is that it'll take a while to test everything in the real world. :)

0 0
replied on June 3, 2014

Keep us updated on your tests. I might try to utilize this soon as well. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.