Questions tagged [executioncontext]

The tag has no usage guidance.

6 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
410 views

Can we detect context inside a Lightning Component which has implemented 'force:lightningQuickAction' interface?

While working on a Lightning Component that can be invoked inside a Lightning Record Home Page as well as Quick Actions. But I need to present different User interface in both context of the component....
3
votes
1answer
32 views

Which user applies to the execution context when executing messaging.sendEmail?

I have a field that is used in an email template for which no FLS is granted in any profiles. The Apex code that sends the email using messaging.sendEmail() is invoked from a trigger so I assume it ...
2
votes
0answers
348 views

Workflow needs to run as specific user or profile for field update to work

I have create a form on a Customer Community where users submit records and in turn a time-based workflow is created to change the value of a field on that new record at a certain time. In turn, a ...
2
votes
1answer
442 views

Find user agent string in lightning controller

In Visualforce controllers, we have ApexPages.currentPage().getHeaders() to get info like user-agent, etc... Is there any equivalent for Lightning controllers? I know this info can be found from $...
1
vote
0answers
162 views

Past due Time-based workflow with criteria set from other workflows

I have a very unique condition happening during a time based workflow that is causing some unexpected behavior. I am curious to know if anyone has had a similar experience and if I am correct in ...
0
votes
2answers
34 views

Winter 15 - Validation Rule

I have the following validation rule for a Custom Object: AND(ISPICKVAL( transp__SFT_Trip__r.transp__SFT_Status__c, "Encerrada") , $Profile.Name != "Administrador do sistema") It only let the admin ...