I have a below scenario for opportunity object.
Criteria:
- When Amount is blank or 0
- When no Lines are available (opportunity Line)
- Record type is ERP Upload
- Stage is "Sales Order"
If above all met the criteria then update Stage to Cancel.
Now i have write below rule -
IF( Amount=0 && ISPICKVAL( StageName , 'Sales Order') && RecordType.DeveloperName = 'Non Finance', true, false)
How to check if there is no opportunity Lines are available using Workflow Rule?