how to stop the workflow status from pending to submit through code
In an assembly the parent attribute value is not matching the BOM attribute value. When the user clicks the SUBMIT status button in the ECO workflow it should validate the condition above and should not change the status to SUBMIT. In other words the status must remain as PENDING till both Parent and BOM attribute values match up. How to achieve this using SDK. Please help.