• Yuckle
  • NEWBIE
  • 50 Points
  • Member since 2010

  • Chatter
    Feed
  • 2
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 20
    Questions
  • 26
    Replies

I am trying to build a workflow/field update such that;

 

Worklfow:   contact Status = Former Employee.     Status is a picklist

Field Update:  remove all values in the multi-select picklist Q2  

 

But the Field Update field choice doesn't seem to offer multi-select picklists as choices of fields to update

 

How can I accomplish this?

Is there a way to make Assignement Rules run on existing (not new) cvase records?   We have a situation where exisitng cases that meet a set of criteria are assigned to a queue by workflow.  Is there a way to then re-assign these cases from the queue to various owners using Assignement Rules

I need advice.

 

We want to build an account hierarchy of parent accounts and child accounts (no deeper), with a related list on the parent account and the parent account field on the child account pointing back to the parent.  We have done this - so far so good.

 

Next, we need the contacts at the parent account to be able to create cases for the child accounts either thru customer portal or by our support group creating cases for them.  The contacts at the parent accounts need to be able to see, add comments and attachments to these cases at their child accounts.

 

Do we need a sharing rule?  at account or case?  or ???

We need a better way to have conversations/tasks between Level 1 and Level 2 Support.

 

Background:  In our shop, difficult support cases can be escalated to Level 3 Support for assistance.   Level 3 never closes cases, just provides advice or fixes and returns cases  to Level 1 or 2 who communicates the fix to our customer.  We have the ability to move cases up and down (1-2-3-2-1).   However, this is being used is a way I didn't anticipate when I designed it.

 

Problem:  Level 3's return a case to the Level 2 rep (the system knows who it was) when they want him/her to answer a question about the case and the Level 2 then returns it to the Level 3 rep with an answer as an internal comment.   So, what's happening is that they are using the Escalate/Return process just to have a conversation about a case.  This was never  intended.  It's add too much delay into the case flow.

 

Needed:  I would prefer that the probable case solver keep ownership of the case but have a trackable way to ask a question of the L2 (or any SF user) or ask for documentation, etc.  Sending emails is no good.  They get lost and don't have any tracking.  Same with case comments.     Can I associate tasks with case?  Can I use Chatter?   Is there a better way to solve this?

 

Ideas welcome!   

Is there a way to expose internal comments to customer portal users?

 

We have a special user group portal where we process enhancement requests.  Only the enh processing team (5 folks) of our user group have access.  Is there a way to expose internal comments to them on this customer portal?

There is something I don't understand going on here.  This validation rule dosen't get triggered if i change the Level from Level 2 to Level 1.

 

AND (  /*   RecordTypeId = "012800000003VEx",                                          Tech Spt Case */
            ISPICKVAL( Level__c , "Level1"),
            ISPICKVAL(PRIORVALUE(Level__c), "Level 2")
         )

 

So, I created a test field "Level - Previous"  [Text 15] and a workfliow/ field update to try to understand why not.

 

ISCHANGED (Level__c)            Workflow rule

PRIORVALUE(Level__c)           Field Update  to Case: Level - Previous

 

When I change the Level, Level - Prevoius contains  a value 1, 2 or 3 with the correct level, but it does not contain the text "Level 1" or "Level 2" or "Level 3" - it just comntains the number 1, 2 or 3.  Why is that?

 

Is this why my workflow isn't firing?

I would iike to display the name of the original case owner on the case page after a case is reassigned.  I have created a field Level 1 Owner Id where I capture the original owner id upon reassignment.  But, I have been unable to figure out how to the display the name of the original owner from the id value stored in  Level 1 Owner Id.  There must be a way..  Please help.

The following trigger,  and an alternative suggested on this board, do not work as planned because the IF always evaluates to FALSE, even when the account manager field is non-blank.

 

Original Failing Trigger

trigger OpportunityTrigger on Opportunity (before ​insert) {

  for(Opportunity o : Trigger.new) {
    String accountManager = (String)o.Q2_Account_M​gr__c;
    
    if((accountManager != null && accountManager.l​ength() >= 15)) {      
      o.OwnerId = o.Q2_Account_Mgr__c;  
    } } }

 

Suggested Alternative

for (Opportunity o : trigger.New) {

if (o.Q2_Account_Mgr__c != null) {

o.OwnerId = o.Q2_Account_Mgr__c;

 

Related Info

  • field Q2_Account_Mgr__c is a lookup field on the Account record that is related to a User
  • Irrespective of whether this field conatins data or is empty, the IFs in either trigger always evaluate to FALSE

Is the problem that since this trigger runs on the Opportunity that it can't see a lookup field on the Account?  Or ??

 

 

This trigger was written by a consultant, but it doesn't work.  I think it is becuase we have account managers whose names are less than 15 characteers long.  It is suppose to add the correct account manager as owner of the new opportunity as long as the account manager field on the account isn't empty.  Comments?  How do I fix if true?  Obvisously, setting 15 to 5, but what is the process to change it?

 

trigger OpportunityTrigger on Opportunity (before insert) {

  for(Opportunity o : Trigger.new) {
    String accountManager = (String)o.Q2_Account_Mgr__c;
    
    if((accountManager != null && accountManager.length() >= 15)) {      
      o.OwnerId = o.Q2_Account_Mgr__c;  
    }
  }

}

We have 4 possible values for case origin (Email, Web, Phone, Proactive).  We assign Email from Email-to-Case.  We assign Web for Web-to-Case.  When SF users create a case in SF, they can pick from all four origins.  I would like to restrict them from picking Email or Web.  Allowing only Phone or Proactive.

 

I have attempted to write a validation rule that knows when a case is new and from Email-to-Case or Web-to-Case allowing Weba nd Email, but preventing it for SF users except admins.  All attempts makes Email to Case fail with:

 

Email-to-Case: Error(s) encountered while processing

 

The following errors were encountered while processing an incoming email:

 

FIELD_CUSTOM_VALIDATION_EXCEPTION : Origin Email/Web is invalid for user created cases

It's clear I don't understand how to identify Email-to-Case cases.  It works as desired for SF users and Web-to-Case.

Here my validation rule (about version 12!):

AND   ( ISNEW(),                                                                                                if record is new
              NOT OR (   ISBLANK(Case_Owner__c) ,                                           if  owner blank (made Web-to_Case work) OR
                                   Case_Owner__c    = "Technical Support Queue",             if owner is queue (default owner for record types
                                   Case_Owner__c    = "Services Request Queue",
                                   Case_Owner__c    = "Jocie Garrett",                                  if default case owner

                                   CreatedBy.LastName  = "Garrett",
                                   $Profile.Name         =  "Q2: Systems Administrator",
                                   $Profile.Name         =  "System Administrator"   ),               if any of these don't create error
              OR           (   ISPICKVAL(Origin,  "Web") ,                                           if if not, error if origin = Email or Web
                                   ISPICKVAL(Origin,  "Email")  )
           )

But, as I said, this causes Email-to_Case to fail when it tries to set origin to Email.

 

We have a custom button on our case layout screen "New Opportunity" that when clicked creates a new Opportunity.  This new oppportunity has a custom field Related Case that gets loaded with the case number of the case we were on when we clicked the button.  So we have a useful link from Opp to parent Case.  

 

But, when looking at the case we have no indication that there is a related Opportunity.  Is there a way to have a Related Opp field in the case record that gets created when we click the custom button so that we have a Case to child Opp link?