Have been using AX2012 workflows for 3 years successfully but this issue has me beat!!
Purchase order workflow, want an automated logic step that if the PO value is 0 automatically reject the PO, send a message to the workflow originator, allow them to change the PO and resubmit the order back to workflow.
Solutions we have tried already:-
1. Added a Conditional decision that's says "If PO value is NOT 0" continue with workflow, if PO value is 0 go to Auto reject node
![]()
The Auto reject node has Automatic actions setup to always reject the PO
![]()
This works fine, if the users create PO with a 0 value, the PO gets rejected, they receive an alert, they can change the PO and re-submit the order to workflow, but when the workflow restarts AX always rejects it automatically?
![]()
This trace above shows that the PO was rejected because PO is zero value.
The user added a price and resubmitted, but the Approval resubmitted Auto rejected it again!!!!
2. Have tried using a Approve purchase order and Approve purchase order editable elements, both give same results.
3. Tried using Review purchase order task elements to return the order to the user, but that didn't allow the user to edit the order.
4. Tried using Review purchase order editable task elements to return the order to the user, that allowed the user to edit the order but when submitting the order receive error that orders can only be submitted in Rejected status
Please help, this is causing me sleepless nights!!
Thanks
Anthony