• rdclk23
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 9
    Questions
  • 5
    Replies
I'm building a Visual Flow to create an object record and I want to set up a set of picklist values for a field to minimize hard coding.  My object has picklist values that vary by record type.   In Visual Flow I could setup a Picklist 'Choice' and point to the object picklist field, but it would show all picklist values regardless of record type (no filtering).  I could use a Flow Picklist with 'dynamic record choice' and a Custom Setting but that would be redundant to the object picklist values.  I could use a Global picklist in the object field definition but it looks like Flow can't access them.  Is there a way to leverage a single source of picklist values for both Flow and an object picklist field defintion that are filterable?
In my sandbox, the developer console won't display. It opens up a window, immediately resizes to a very small window and hangs.  Chrome eventually times out and I have to kill the session.  I can pull up the console in my production account.
What is best practice for tracking a checklist of required tasks to implement a new product with a customer?  The sales rep closes a SFDC Opportunity and now the implmentation team must work with the customer to install the product and train the customer users of the product.  We have a custom object named Implementation Project that must be used to keep track of the process post-Opportunity Close-Won.  Two teams become invloved in the implementation: Technical and Training.  There are many steps involved in the implementation that require tracking and integration to workflows that send email alerts and Date stamp when the tasks are completed. Each product may have a different set of tasks to be performed and tracked.  Can anyone suggest a best approach to make this process work efficiently?
I've built the knowledge article pagenation example with a custom controller from the Salesforce Knowledge Developers Guide (page 14).  I can't figure our how the <knowledge:articleList> tag knows to read the List<KnowledgeArticleVersion> created in the custom controller constructor from SOQL.  I don't see a parameter on the  <knowledge:articleList> and the List in the controller does not have a property or method to expose it.
I am using a record detail custom button to refer to a Visualforce page which in turn launches a Flow. That Flow then creates a new record. I would like my Finishlocation to be that newly created record. As it is now, I am only able to make the Finishlocation an already created record (such as the record I was in when I pushed the button ; or some other record which is a lookup field on that record).

I am referring to a variable which has the newly created record's ID.

Here is the Visualforce page which the custom button refers to :
 
<apex:page StandardController="Vendor_Product__c" Extensions="New_ProductReview_With_Flow_Controller2">
<flow:interview interview="{!myflow}" name="New_Product_Review" finishlocation="{!finishlocation}"> 
<apex:param name="VarVendProdRecID" value="{!Vendor_Product__c.Id}"/>
<apex:param name="VarVendProfileID" value="{!Vendor_Product__c.Vendor__r.Id}"/>
</flow:interview>
</apex:page>

Here is the controller : 
 
public class New_ProductReview_With_Flow_Controller2 {
     public Id recordId {get;set;}
    public flow.interview.New_Product_Review myflow {get;set;}

    public New_ProductReview_With_Flow_Controller2(ApexPages.StandardController stdController) {
        recordId = ApexPages.currentPage().getParameters().get('recordId');
    } 

    public String getendID() {        
        if (myflow !=null) return myflow.VarNewReviewRecID;
        else return 'home/home.jsp';
    }       

    public PageReference getFinishLocation() {        
        PageReference endlocation = new PageReference('/' + getendID());


        system.debug('VarNewReviewRecIDxxxx '+getendID()); 
        return endlocation;
    }
}

VARNewReviewRecID is a null value in the above debug for some reason, even though it is the Variable populated with the Create Record element in the Flow and I can see it is populated when I look at the debug logs. It is an input/output variable so I would think I could refer to it from Apex.

Any ideas ?