0

In the chatter publisher, there is a Upcoming and Overdue tasks section in which a checkbox is shown in front of task, when I check it the task status will change to Completed.

I need to do some steps after I click on that checkbox, Since it is Salesforce out-of-the-box functionality I tried seeing what happens when checkbox is checked using Lightning Inspector Extension, I found one Event being fired:

function(a,b,c,d,e) {
   var f =  $A.getEvt("markup://runtime_sales_activities:taskStatusChange");
   f.setParams({ 

     // some params
)}

f.fire()
}

I tried adding a aura:handler in an aura component which is in same flexipage as chatter publisher for this event.

Tried following ways but unable to deploy:

1.

<aura:handler event="runtime_sales_activities:taskStatusChange" action="{!c.someMethd}">

Error while deploying -> NO EVENT named runtime_sales_activities:taskStatusChange found

2.

<aura:handler event="c:taskStatusChange" action="{!c.someMethd}">

Error while deploying -> NO EVENT named markup://c:taskStatusChange found.

Can anyone help with this?

heeat
  • 128
  • 2
  • 9

0 Answers0