06-10-2013 02:00 AM
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?
06-10-2013 08:23 AM
Do you have actual quotation marks around SIBDApprovals.OTAApproval in your condition statement?
You shouldn't have quotes there.
06-10-2013 08:30 AM
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
06-10-2013 08:34 AM
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: