• Harikrishna Mandadapu
  • NEWBIE
  • 10 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 7
    Questions
  • 9
    Replies
I have created an approval process and I am invoking it using process builder. I want to throw a validation message when user click on reject button on approval request. How can I achieve this.
I want to send the record for approval whenever it got inserted. For that I have created an approval process and calling the same using process builder to send it for approval automatically. But I am not able to submit for approval automatically. If I click on submit for approval button then its working as per approval process definition. I have given one condition equals to an Id in my process builder and action is submit for approval. Please correct me if I need to modify it to get the required done.
I am using the below Jquery snippet to allign. It is looking good, but after I select any value alignment is getting disturbed. Can anyone help me out of this.
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> 
    <script type="text/javascript">
        var $j = jQuery.noConflict();
        $j(document).ready(function() {
            setTimeout(function() {
                $j('select.myMultiClass').each(function(i, val) { 
                    $j(val).width(100);
                    $j(val).height(150);
                })
            },100);
        });
    </script>
I am overiding standard delete button on my visualforce page. When I click on delete link in my related list, I am getting confirmation message asking 'Yes' or 'cancel'. Any way to stop getting confirmation popup.
how to prevent users from deleting task if it is closed using validation rule

trigger NoDeleteonIsAssignedTask on Task (before delete) 
 {
    String ProfileId = UserInfo.getProfileId(); 
    set<Id> setwhatId=new set<Id>(); 
    list<Task> lsttask=trigger.old;
    for(Task ta:trigger.old){
    setwhatId.add(ta.whatID);
    }
    list<employees__c> lst=[Select id from employees__c where id in :setwhatId];
    
        for (Task a : Trigger.old) { 
            if( lst.size()>0 )    
                 a.addError('You can\'t delete this record!'+a.id);
            }
            }
I have created an approval process and I am invoking it using process builder. I want to throw a validation message when user click on reject button on approval request. How can I achieve this.
I want to send the record for approval whenever it got inserted. For that I have created an approval process and calling the same using process builder to send it for approval automatically. But I am not able to submit for approval automatically. If I click on submit for approval button then its working as per approval process definition. I have given one condition equals to an Id in my process builder and action is submit for approval. Please correct me if I need to modify it to get the required done.
I am using the below Jquery snippet to allign. It is looking good, but after I select any value alignment is getting disturbed. Can anyone help me out of this.
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> 
    <script type="text/javascript">
        var $j = jQuery.noConflict();
        $j(document).ready(function() {
            setTimeout(function() {
                $j('select.myMultiClass').each(function(i, val) { 
                    $j(val).width(100);
                    $j(val).height(150);
                })
            },100);
        });
    </script>
I am overiding standard delete button on my visualforce page. When I click on delete link in my related list, I am getting confirmation message asking 'Yes' or 'cancel'. Any way to stop getting confirmation popup.
how to prevent users from deleting task if it is closed using validation rule

trigger NoDeleteonIsAssignedTask on Task (before delete) 
 {
    String ProfileId = UserInfo.getProfileId(); 
    set<Id> setwhatId=new set<Id>(); 
    list<Task> lsttask=trigger.old;
    for(Task ta:trigger.old){
    setwhatId.add(ta.whatID);
    }
    list<employees__c> lst=[Select id from employees__c where id in :setwhatId];
    
        for (Task a : Trigger.old) { 
            if( lst.size()>0 )    
                 a.addError('You can\'t delete this record!'+a.id);
            }
            }
Hi All,

I want to use multiselect picklist in visualforce page. Can anybody tell how it's possible.
Please help me