function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vanitha ManiVanitha Mani 

Regarding conditions

Hi i have lightning progressive indicator with step 1 to step 5..

My requiremnt is 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
User-added imagehere if task open table will come in step 1..

so ststus closed or there are no task this step should be skipped..but i am getting page like this
User-added image
AbhishekAbhishek (Salesforce Developers) 
Hi Vanitha,

Please be advised that this community is focused on Salesforce technical discussions where the forums and participants are geared toward programming troubleshooting and support. 

Don't Post any kind of Requirement emails on this Site. 

If you’re looking for help with Apex or Visualforce Code, or with your API integration, please check out our Premier and Partner Success Plans.

For Premier Success Plans, please visit: https://www.salesforce.com/services/success-plans/overview/premier-success-plans/


Regards,
Salesforce Support.