Activity › Forums › Salesforce® Discussions › What is enqueue action and app hostile in Salesforce?
Tagged: App Hostile, Enqueue Action, Salesforce Development
-
What is enqueue action and app hostile in Salesforce?
Posted by sandeep on September 17, 2017 at 7:04 AMWhat is enqueue action in Salesforce?
What is app hostile in Salesforce?
William replied 7 years, 4 months ago 4 Members · 3 Replies -
3 Replies
-
Hi Sandeep,
I am considering you are asking to enqueue in reference to the lightning component. Whenever you want to call a server side method from a javascript controller you need to create an action. enqueue action is the keyword that binds server-side action with the Aura framework.
Thanks.
- [adinserter block='9']
-
Hello,
If we need to call more than one server side controller then we need to write a second controller inside the First setCallBack method , the third controller inside the second Controller and so on .
Like this way we can achieve the right output always . This is the correct way to call $A.enqueueAction() .Thanks.
-
Enqueue action refers to the server-side controller activity to the line of activities to be executed. All activities that are enqueued will keep running toward the finish of the event loop. As opposed to sending a different demand for every individual action, the system forms the occasion chain and groups the activities in the line into one demand. The activities are asynchronous and have callbacks.
App hostile is the situation that occurs when the callbacks in the enqueue loop are hindered due to a faulty code or asynchronous instruction.
Log In to reply.