• Renata Cruz 9
  • NEWBIE
  • 15 Points
  • Member since 2015

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

I am trying to campare dates in a button javascript, but it doesn't work. Can anyone help me?

Code:
{!REQUIRESCRIPT("/soap/ajax/36.0/connection.js")} 
{!REQUIRESCRIPT("/soap/ajax/36.0/apex.js")} 

var tempdate = new Date("{!Case.Next_action_required_date__c}");
var agora = "{!NOW()}";

if( tempdate < agora)

alert("Please, inform the Next Action Required Date")
Hi,

I am trying to campare dates in a button javascript, but it doesn't work. Can anyone help me?

Code:
{!REQUIRESCRIPT("/soap/ajax/36.0/connection.js")} 
{!REQUIRESCRIPT("/soap/ajax/36.0/apex.js")} 

var tempdate = new Date("{!Case.Next_action_required_date__c}");
var agora = "{!NOW()}";

if( tempdate < agora)

alert("Please, inform the Next Action Required Date")
I'm not a developer, just an admin and can't seem to get salesforce support to answer a question about why apex jobs never leave the "holding" status in our org.  Since 11/6 - none of them have run.  Prior an hourly job was kicked off. It's the MailChimpToSalesforceBatch    that is an integration/sync job.  

The package from Mailchimp hasn't changed, only the behaviour. ( now we have to manually enter inbound leads acquired to our lists - where before everything was working fine.

Any suggestions? Salesforce standard support has rejected my requiests to look into why the job stays holding and is not released.
I'm not a developer, just an admin and can't seem to get salesforce support to answer a question about why apex jobs never leave the "holding" status in our org.  Since 11/6 - none of them have run.  Prior an hourly job was kicked off. It's the MailChimpToSalesforceBatch    that is an integration/sync job.  

The package from Mailchimp hasn't changed, only the behaviour. ( now we have to manually enter inbound leads acquired to our lists - where before everything was working fine.

Any suggestions? Salesforce standard support has rejected my requiests to look into why the job stays holding and is not released.