Hot answers tagged

1 vote

Workflow rule to update contact field. Syntax error missing ")"

So the calc would be something like this (using a case statement): CASE(1, IF(ISPICKVAL​ (Type_of_pet__c, "Dog"),​ 1, 0), "Dog",​​ IF(ISPICKVAL​ (Type_of_pet__c, "Cat&...
user avatar
1 vote

Trigger error- System.StringException: Starting position out of bounds:

You should check that the contents of the variable StageName has length 8 if you want to take the substring from 6-7. Otherwise you cannot guarantee you'll reach out of bounds and get this exception. ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible