• Murali Anandampillai
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies
Hi All,

I am trying to schedule a batch job using the Cron syntax from developer console
 
PRM_ManualLeadShareScheduler m = new PRM_ManualLeadShareScheduler();
String sch = '0 0 23 ? * MON-SUN 2016-2017';
String jobID = system.schedule('PRM_ManualLeadShareScheduler', sch, m);


The start date is getting set correctly but the end date is not getting set. It is blank.

Help!

Thanks,
Murali
Hello, 

I created a custom formula text field in the opportunity object called, MAS__c.

It should pull the first name and last name referenced to the User object. But what i get is the 15 digit ID vs the text name. 

This is the formula syntax I used in the MAS__c formula text field: 
 
$User.MAS__c

Any idea on how to do this via a formula or process builder? 

I tried process builder but not sure what the syntax would be and my attempt was to create a custom field MASda__c, then populate it using the User object:
[Opportunity].MASda__c = $User.FirstName