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?
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
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.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: