Custom Validation Package - Workflow Assigned To An Order
Posted: Wed Sep 16, 2015 5:19 pm
I’m trying to add logic to my server side validation package to prevent users from saving orders with an OrderStatus = ‘Canceled’ and not in specific cancellation Workflow. This will ensure cancelled orders get the appropriate cancellation and follow-up tasks (Checklist or Requested) added. I have looked thru the field code browser on an order, but don’t see a Workflow referenced. Is there a way to access the Workflow or Workflow Step an order has been assigned to in the validation package code?