Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Requisition approval rule - Charge Account

edited Apr 6, 2024 8:15AM in Self Service Procurement 2 comments

I'm trying to create an approval rule for requisitions using the Charge Account field.

I created the matches clauses, and they are working fine, ex:

AND

Charge Account Matches 1234\\.1234\\.1234\\.123\\.1234\\.12345\\.(.*)\\.(.*)\\.(.*)\\.(.*)\\.(.*)

Charge Account Matches 4321\\.1234\\.1234\\.123\\.1234\\.12345\\.(.*)\\.(.*)\\.(.*)\\.(.*)\\.(.*)

Charge Account Matches 5555\\.1234\\.1234\\.123\\.1234\\.12345\\.(.*)\\.(.*)\\.(.*)\\.(.*)\\.(.*)

But now I need to create an exclude clause and it's not working properly. Below it's what I tried.

AND

Charge Account Matches (?!1234).*\\.(?!1234).*\\.(?!1234).*\\.(?!123).*\\.(?!1234).*\\.(?!12345).*\\.(.*)\\.(.*)\\.(.*)\\.(.*)\\.(.*)

Charge Account Matches (?!4321).*\\.(?!1234).*\\.(?!1234).*\\.(?!123).*\\.(?!1234).*\\.(?!12345).*\\.(.*)\\.(.*)\\.(.*)\\.(.*)\\.(.*)

Charge Account Matches (?!5555).*\\.(?!1234).*\\.(?!1234).*\\.(?!123).*\\.(?!1234).*\\.(?!12345).*\\.(.*)\\.(.*)\\.(.*)\\.(.*)\\.(.*)

Do you know if there is another way to do this? What's the right way to do this?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!