Hi,
I created a custom workflow and it is working fine as standard but client wants some more condition on cancelation of workflow.
They want to disable workflow cancel button on the basis of status of Current record on form. we applied this custom Workflow on Production Order form. first thing we have two status fields on ProdTable one is workflow status second is Production Order Status. we are creating production order we will process the Report as finished Journal after posting this report as finished Journal we are locking the Production Order. We are using this workflow to get approval to releasing this production order from locking state.
So we have one scenario where this workflow will reject but production order will proceed to Ended state but because this workflow status is rejected therefor it is showing three button Resubmit, Cancel, View History. but client want to show only View History when Production order is Ended.
So please help me How to disable Workflow cancel and resubmit button on the basis of Production Order Status.