Urgent help needed on workflow syntax and logic
Hi All,
We are trying to build a workflow that would work on probability field and validate if a certain value is selected at certain sales stage. We have written down the following syntax but it exceeds 1024 character length..is there a way we could achieve this any other way or re-write the syntax to shorten it.
(([<SalesStage>]='Development'OR[<SalesStage>]='Qualification')AND([<plProbability_ITAG>]<>'0' OR [<plProbability_ITAG>]<>'10'OR[<plProbability_ITAG>]<>'20'OR[<plProbability_ITAG>]<>'30' OR [<plProbability_ITAG>]<>'40'OR[<plProbability_ITAG>]<>'50'OR[<plProbability_ITAG>]<>'60' OR [<plProbability_ITAG>]<>'70'OR[<plProbability_ITAG>]<>'80'OR[<plProbability_ITAG>]<>'90')) OR (([<SalesStage>]='Confirmed'OR[<SalesStage>]='Bid/Proposal Preparation'OR[<SalesStage>]='Decision Pending') AND ([<plProbability_ITAG>]<>'10'OR[<plProbability_ITAG>]<>'20'OR[<plProbability_ITAG>]<>'30' OR [<plProbability_ITAG>]<>'40'OR[<plProbability_ITAG>]<>'50'OR[<plProbability_ITAG>]<>'60' OR [<plProbability_ITAG>]<>'70'OR[<plProbability_ITAG>]<>'80'OR[<plProbability_ITAG>]<>'90')) OR (([<SalesStage>]='Cancelled/Dead'OR[<SalesStage>]='No Bid/Proposal' OR [<SalesStage>]='Closed/Lost') AND [<plProbability_ITAG>]<>'0') OR(([<SalesStage>]='Decision/ALB'OR[<SalesStage>]='Awarded' OR [<SalesStage>]='Closed/Won')AND[<plProbability_ITAG>]<>'100') AND [<IndexedPick0>] <> LookupValue("OCC_INDEX_CUST_LOV_OPTY_0", "Testing Europe")
Tagged:
0