I have a form that allows a employee to submit an invoice to Finance for approval. The initial form uses the current user to lookup that user's maximum approval level from a SQL database and puts it into a currency field. The user then inputs the invoice amount into another currency field prior to submitting. I then have an exclusive gateway that compares those two currency variables. If the invoice amount is less than or equal to their maximum limit it goes directly to Finance but if it is over their maximum limit then it goes to their supervisor for approval. The issue I am having is that no matter what the invoice or submitter value is it is going to the supervisor for approval. I've seen where path conditions can be used to compare 2 number values but can it also be used to compare currency or is that not an option yet?
Here are my path conditions:
- Supervisor Approval
- /dataset/Approval_Limits/Submitter_Limit</dataset/Invoice_Information/Invoice_Amount
- Directly to Finance Approval
- /dataset/Approval_Limits/Submitter_Limit>=/dataset/Invoice_Information/Invoice_Amount