• Kim Mikhail Cabela
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 5
    Replies
Hello Guys,

i have followed this document https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_flows_getting_values.htm on passing the value from the visual workflow unto the vf page. But the variable value is not passed real time. I have subflows before every assignment element. With the behavior of Assignment Element 1 VarA -> Subflow1 - Assignment Element 2 VarB - Subflow2 - Assignment Element 3 VarC.
whenever the next subflow is triggered instead of getting Assignment Element 2 VarB on Subflow 2 i am getting Assignment Element 1 VarA .

Is this related to flow caching the variables? 

Thank you in advance.
Hello ,

I need to create a repeating nested table region , with a structure of this.

Parent
   Child
   Child2
   Child2.GrandChild

there is a limitation of soql queries in conga on digging to the 3rd level , so i created a separate query for the grandchild with reference id coming from the parent. My issue is whenever i add the tablestard and tableend on the 2nd query it repeat multiple times on the parent section even though the record is not related.

Thanks in advance!
Hello,

I created a custom vf page for event and is replicating the behavior of "Save and Send Update" for Invitees.

Here is my code below.

  if(emailonsave != null){
                    system.debug('GOFOREMAIL');
                    //code for email sending
                    EventRelation evtreltesting = new EventRelation();
                    evtreltesting.relationID = '003N000000zHUCoIAO'; // Temporary Contact
                    evtreltesting.EventId = evtInsert.id;
                    insert evtreltesting; 
                     
                    
                    //send update to invitees
                    Database.DMLOptions dmo = new Database.DMLOptions(); 
                    dmo.EmailHeader.triggerOtherEmail = true; 
                    
                    system.debug('WhatsInside' + evtreltesting);
                    for(Event eventInstance : [Select Id, IsGroupEvent from Event where Id =: evtInsert.id]){
                        if(eventInstance.IsGroupEvent){
                            system.debug('TestThis' + eventInstance );
                            Database.insert(evtreltesting,dmo);
                        }
                    
                    
                    
                }
Thanks in advance.
Hi All, new to Salesforce Development

I'm trying to create an Apex Trigger in Task(Activity)/Event object.

1) Check a field in Account (Number Field A__c) if more than 100
2) Check a field in Account (Number Field B__c) if more than 50

Basically I have criteria above if not pass, prompt error message to users upon saving their Task/Event record.
Hello,

I created a custom vf page for event and is replicating the behavior of "Save and Send Update" for Invitees.

Here is my code below.

  if(emailonsave != null){
                    system.debug('GOFOREMAIL');
                    //code for email sending
                    EventRelation evtreltesting = new EventRelation();
                    evtreltesting.relationID = '003N000000zHUCoIAO'; // Temporary Contact
                    evtreltesting.EventId = evtInsert.id;
                    insert evtreltesting; 
                     
                    
                    //send update to invitees
                    Database.DMLOptions dmo = new Database.DMLOptions(); 
                    dmo.EmailHeader.triggerOtherEmail = true; 
                    
                    system.debug('WhatsInside' + evtreltesting);
                    for(Event eventInstance : [Select Id, IsGroupEvent from Event where Id =: evtInsert.id]){
                        if(eventInstance.IsGroupEvent){
                            system.debug('TestThis' + eventInstance );
                            Database.insert(evtreltesting,dmo);
                        }
                    
                    
                    
                }
Thanks in advance.