how to get value from list in salesforce code example Example: Apex get 1st item in list Schedule_Task__c tsk = lstScheduleTask[0];