You need to sign in to do that
Don't have an account?
Vanitha Mani
ticket task
Hi i have lightning progressive indicator with step 1 to step 5..
if the status of ticket task is closed or there are no tasks then step 1 should be skipped..
How to get that condition??
I have my component in case object and i have v.recordId..
How to get the value of ticket task status.
Ticket task object name is SVC_ticket_task__c
public static List<SVC_Ticket_Task__c> fetchAccts(String recordId){
return [SELECT Id,Ticket__r.Id, Name,Short_Description__c,Type__c,Status__c,Owner__r.Name,Engineer__r.Name from SVC_Ticket_Task__c where Status__c != 'Closed' AND Ticket__r.Id =:recordId];
}
here the status should be closed and if there are no task then the first step should be skipped and if not it displays the open task in first step..
Can anyone help me with this conditional code..its urgent
if the status of ticket task is closed or there are no tasks then step 1 should be skipped..
How to get that condition??
I have my component in case object and i have v.recordId..
How to get the value of ticket task status.
Ticket task object name is SVC_ticket_task__c
public static List<SVC_Ticket_Task__c> fetchAccts(String recordId){
return [SELECT Id,Ticket__r.Id, Name,Short_Description__c,Type__c,Status__c,Owner__r.Name,Engineer__r.Name from SVC_Ticket_Task__c where Status__c != 'Closed' AND Ticket__r.Id =:recordId];
}
here the status should be closed and if there are no task then the first step should be skipped and if not it displays the open task in first step..
Can anyone help me with this conditional code..its urgent