function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
anvesh@force.comanvesh@force.com 

Workflow formulae not working properly ?

I had a workflow filter criteria condition but  when the stage value is  '5-Paperwork/Ticketing incoming' then work flow should not fire. but  even when the stage value is '5-Paperwork/Ticketing incoming'  the workflow fires and updates .? whats wrong ?

AND(
NOT(IsBlank(Policy__c)),
NOT(IspickVal(StageName,'5-Paperwork/Ticketing incoming'))
)
Waqar Hussain SFWaqar Hussain SF
Hello anvesh..
This workflow rule will run only if Policy__c is not blank and your stage is not '5-Paperwork/Ticketing incoming'.
both the condition should true to run the work flow rule. check wether both condition are true or not
Jan VandeveldeJan Vandevelde
Hello Anvesh,
vickey is right here. By using the AND, both have to be true. I think you should change to
OR(NOT(IsBlank(Policy__c)),
NOT(IspickVal(StageName,'5-Paperwork/Ticketing incoming'))
)
This will fire if the Policy__c field is blank no matter what stage it is in OR when policy is filled in but stagename is 5 it will also fire