Fil
- Activité récente
- Date de création
- Questions avec une réponse acceptée
- Questions sans réponse acceptée
- Questions sans réponse
- Appexchage Apps
- Audience Studio
- Automation Studio
- B2B Commerce
- B2C Commerce
- Business Rules Engine
- Communications Cloud
- Consumer Goods Cloud
- Datorama
- Digital Engagement
- Education Cloud
- Education Data Architecture
- Einstein Analytics
- Einstein Bots
- Email Marketing
- Experience Cloud
- Financial Services Cloud
- High Velocity Sales
- Higher Education
- Integration
- Interaction Studio
- Journey Builder
- K-12 Architecture Kit
- Manufacturing Cloud
- Marketing Cloud
- Mobile Publisher
- MuleSoft
- MuleSoft Composer
- Nonprofit
- Nonprofit Cloud
- Nonprofit Success Pack
- Outbound Funds Module
- Pardot B2b Marketing Automation
- Program Management Module
- Quip
- Revenue Cloud
- Sales Cloud
- Sales Cloud Einstein
- Salesforce CPQ & Billing
- Salesforce Developer
- Salesforce Field Service
- Salesforce Health Cloud
- Salesforce Maps
- Salesforce Platform
- Salesforce Surveys
- Service Cloud
- Service Cloud Einstein
- Service Cloud Voice
- Slack Basics
- Slack Certified
- Slack Community
- Slack Developers
- Slack Workflow Builder
- Tableau
- Automation
- AwesomeAdmins
- Data Management
- EducationHelp
- Formulas
- IdeaExchange
- New Releases
- NonprofitHelp
- Salesforce Developer
- SalesforceLive
- TrailblazerCommunityHelp
- TrailblazerDX
- Trailhead Challenges
- Trailhead Superbadges
- TrailheadGO
Filtre
Hi,
I have written a apex class , in which I need to schedule that class every 5 minute.
I tried executing below Approaches :
Option 2: This executing every 5 mins per hour
global with sharing class ScheduleBatchApexDemo implements Schedulable {global void execute(SchedulableContext sc) { PricingEventReviewAggregatorContract.createPricingLogItemsContract();}Public static void SchedulerMethod() { string timeinterval = '0 5 * * * ?'; System.schedule('ScheduledDemo-Every5mins',timeinterval, new ScheduleBatchApexDemo()); }}
Please help if there is any optimized approach
Option 1 : Executed code in anonymous window. But I dont want to have n number of scheduled Jobs. System.schedule('Schedule Job Name 1', '0 00 * * * ?', new ScheduleBatchApexClassExample());System.schedule('Schedule Job Name 2', '0 05 * * * ?', new ScheduleBatchApexClassExample());System.schedule('Schedule Job Name 3', '0 10 * * * ?', new ScheduleBatchApexClassExample());System.schedule('Schedule Job Name 4', '0 15 * * * ?', new ScheduleBatchApexClassExample());System.schedule('Schedule Job Name 5', '0 20 * * * ?', new ScheduleBatchApexClassExample());System.schedule('Schedule Job Name 6', '0 25 * * * ?', new ScheduleBatchApexClassExample());System.schedule('Schedule Job Name 7', '0 30 * * * ?', new ScheduleBatchApexClassExample());System.schedule('Schedule Job Name 8', '0 35 * * * ?', new ScheduleBatchApexClassExample());System.schedule('Schedule Job Name 9', '0 40 * * * ?', new ScheduleBatchApexClassExample());System.schedule('Schedule Job Name 10', '0 45 * * * ?', new ScheduleBatchApexClassExample());System.schedule('Schedule Job Name 11', '0 50 * * * ?', new ScheduleBatchApexClassExample());System.schedule('Schedule Job Name 12', '0 55 * * * ?', new ScheduleBatchApexClassExample());
Aujourd’hui, à 11:19 Try scheduling the apex class 5 minutes from the time it finishes every time it finishes. You will only have a schedule (5 minutes from now) for this class.
Aujourd’hui, à 11:17 Hi John,
A little late I imagine but just save other peoples time.
I have run into this problem also, one of the many crazy head melts that you encounter when working with salesforce. I couldn't find any real workaround unfortunately.
I far as I am aware if you disable chatter (this option is added via a case with sf) for a user they lose access to files, notes and attachments. Bizarrely enough when a user is denied access to a file in this scenario they can't view it in the pop up but are allowed to download it!
Hi All, I'm trying to upgrade managed package in salesforce through App Exchange in sandbox but it's auto redirecting to production org. Please help to tackle this.
Link for managed package :
https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000EHAmyUAH&other_source=AppExchange+Browse
#Salesforce Developer #Trailhead Challenges
Aujourd’hui, à 11:12 Hello @Rohit Chavan,
On the appexchange listing page, rather than clicking "Get it Now" you need to click "Try it Free" to install in a sandbox.
This rolled out last week: https://appexchange.salesforce.com/learn/simplified-appexchange-app-trials
Hi Community,
I'm searching for the "Program" object in the Object Mager but am unable to find it. Is there any requirement if an Object is not found the create a custom Object or Install the New Package Package for it?
#Security #Trailhead Challenges #Certifications #TrailblazerCommunity
Aujourd’hui, à 11:13 The same results after clearing the Browser History. Using in ignito.
Background - We are noticing that there are many sellers who has exact same first name and last name e.g. there are two "John Davidson" & it is causing for seller to see incorrect forecast info.
To solve the same, we are thinking to use a concat field of "Name"-"Employee ID" ( e.g. John David-A2346UK)
and want to update in the dashboard such that when John David opens dashboard , he does not need to manually select his name+Employee id but it gets default selected when he opens the dashboard.
What should we write in json for the same when we have two different fields in 'User' object as 'Name' and 'EmployeeId'
Aujourd’hui, à 11:10 Thanks a ton @Roman Michalik, let us try and see , if we can go ahead with the suggestion you provided
商談の「主キャンペーンソース」に条件が当てはまったらキャンペーンを登録するようフローを組んでいるのですが、該当のキャンペーンのキャンペーンメンバーにどういうロジックでリード・取引先責任者が登録されているのかが分かりません。
フローを組んだ商談の「取引先責任者の役割」に登録されている取引先責任者が登録されるのは分かるのですが、該当の商談以外のリードや取引先責任者もキャンペーンメンバーに登録されています。
他のフローや、他の何かの自動化の機能が動いている可能性があるのでしょうか、、?
Forum Ambassador Manoj Nambirajan (Dell Technologies)
Aujourd’hui, à 11:08 @Nanami Sato is the campaign linked with an Opportunity and have campaign members auto populated?
Working on this module "Import and Export with Data Management Tools" and encounter such error message " Step not yet complete in Trailhead Playground,
The 'Lead' records from the CSV were not found. Please check the instructions."
I've checked Today Created Lead list view, only 36 records available but on the csv file we have 44 records, 8 are missing, may I know how to fix this?
THANKS!
23 juin 2021, 13:15 Thanks Adityan and Biren! I've found the solution - I added extra column on the csv file with the title "Lead" (Not ''Lead Source" because it will not let you passed) and insert "Web" for the 44 records, upsert the data then map the "Lead" with ''Lead Source" in Data Import Wizard - it works!
I am working service agent using RAG capabilities and uploaded a document which has troubleshooting steps of around 13 steps.
When I ask a question for troubleshooting guide/steps, service agent is only returning 6 steps even after updating the instruction it is same.
Is there any limit with the length of the response? Please clarify
#Agentforce #Prompt Builder
Aujourd’hui, à 11:02 Hi @Gopala Atla
Yes, there is a limit on the length of the response in Agentforce. The issue you are experiencing, where only a portion of the troubleshooting steps are returned, could be due to the model's maximum context length being exceeded.
This is a common problem when the combined prompt exceeds the model's token limit, which can result in incomplete responses.
For more details, you can refer to the following articles:
https://help.salesforce.com/s/articleView?id=002723590&type=1Thanks!