cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1013
Views
0
Helpful
3
Replies

How to Configure approval

florentd2si
Level 1
Level 1

Hi,

I want to configure approvals on a service only for VSO. So I add an approval in Authorizations tab and I put this on the condition field:

"Approval"="Approval" and "SIBDApprovals.OTAApproval"="Yes".

I checked that the value of OTAApproval is "Yes" when the user is a VSO and "No" if an OTA order this service.

But it doesn't work. There is no approval. If I only use "Approval"="Approval" as a condition, there is an approval for all user who order this service.

So how to configure Approval for VSO and not for OTA?

3 Replies 3

meisenst
Level 4
Level 4

Do you have actual quotation marks around SIBDApprovals.OTAApproval in your condition statement?

You shouldn't have quotes there.

I have the quotation marks.

If I remove them, when validate I obtain:

Expression "Approval"="Approval" and SIBDApprovals.OTAApproval="Yes" 

  Validation Result:unexpected token: SIBDApprovals.OTAApproval

Lee Calcote
Level 3
Level 3

You'll want to start with configuring approval for this service via the Configure Approvals service.

And then extend the service with an additional conditional for VSO users only.