How to Auto-close HR cases if they are been in the "Awaiting Acceptance" state for more than 5 business days?

MU1
Tera Contributor

Hi All,

There are multiple snippets of attempted answers scattered across the community forum on this topic.

Can anyone be kind enough to help illustrate the steps involved in configuring the auto-close of HR cases after 5 business days if they have been in "awaiting acceptance" state? Can you please share screenshots of the new System Property and Scheduled Job created to accomplish this task? Many thanks  

1 ACCEPTED SOLUTION

Rob Sestito
Mega Sage

To piggy-back off what Michael said, as he is correct.

When you go to the workflow editor, you will need to checkout the workflow to actually edit the timer.

Just in case you are unsure as how to do so:

  • type workflow edit in your filter nav and click on workflow editor
  • when on the workflow url page, on the right you have your search field, type in HRI to location the workflow Michael mentioned HRI Case User Acceptance
  • click on that workflow, and on the left side of the workflow, use the additional menu options to checkout the workflow

find_real_file.png

 

  • Once checked out by you, locate the Timer step and double-click to get into it

find_real_file.png

 

  • adjust your timer as needed
  • then go back to the addition menu to publish the workflow

(ours as an example)

find_real_file.png

 

Now, someone might need to sanity-check me, but I think once you adjust this timer and republish the workflow, the new timer will only start with NEW cases hitting the conditions. Existing cases already using the previous timer will still use the previous timer.

Please let us know if you need more help with this, or if we have answered your question.

Cheers!

-Rob

View solution in original post

7 REPLIES 7

Hi ,

 

It is typo error. Replace pn with ud:

if(ud>0){

continue the code

 

}

 

Thanks,

Sumanth 

Michael Fry1
Kilo Patron

The workflow - HRI Case User Acceptance - will trigger when the HR Case state is Awaiting Acceptance. That workflow has a timer, out of box it's set to 2 business days. You can just change the Timer to 5 days. No system property, no scheduled job is needed.

Rob Sestito
Mega Sage

To piggy-back off what Michael said, as he is correct.

When you go to the workflow editor, you will need to checkout the workflow to actually edit the timer.

Just in case you are unsure as how to do so:

  • type workflow edit in your filter nav and click on workflow editor
  • when on the workflow url page, on the right you have your search field, type in HRI to location the workflow Michael mentioned HRI Case User Acceptance
  • click on that workflow, and on the left side of the workflow, use the additional menu options to checkout the workflow

find_real_file.png

 

  • Once checked out by you, locate the Timer step and double-click to get into it

find_real_file.png

 

  • adjust your timer as needed
  • then go back to the addition menu to publish the workflow

(ours as an example)

find_real_file.png

 

Now, someone might need to sanity-check me, but I think once you adjust this timer and republish the workflow, the new timer will only start with NEW cases hitting the conditions. Existing cases already using the previous timer will still use the previous timer.

Please let us know if you need more help with this, or if we have answered your question.

Cheers!

-Rob