Can't skip Awaiting Acceptance

Shane J
Tera Guru

In HRSD, I need to have the ability to skip 'Awaiting Acceptance' when Guest is the opened_for.  I cannot use the setting at the Service level to control this

 

I've tried attacking this multiple ways and am getting nowhere.

Everything I have read said these two BRs are driving this:

  • Add User Acceptance State
  • Trigger Awaiting Acceptance Workflow

I have tried modifying both, running my own BR before them, in some cases using setWorkflow('false')  to try to prevent anything else from triggering and regardless what I do, the State gets set back to 'Awaiting Acceptance'.

 

The only other thing I haven't tried is modifying the 'Close complete' action itself, but to do so I have to familiarize myself with this nightmare of a UI Action replacement (I also don't think that's the underlying issue here).

3 REPLIES 3

Shane J
Tera Guru

Well I think part of the issue is that setWorkflow(false) doesn't work scoped, so that's fun.

 

Shane J
Tera Guru

I think I figured this out, based on this post here:  https://www.servicenow.com/community/hrsd-forum/state-changes-to-awaiting-acceptance-instead-of-clos...

I modified my BR to:

  • run before
  • Order of like -1000000 (make sure it always runs first...)
  • Instead of just updating the State, also set Skip Automatic User Acceptance State to true.

The part in bold for emphasis because I think that was the main piece I was missing.  

ya1988bk
Tera Contributor

Thank you very much for posting this solution, it helped!