• Harsha Sekhar
  • NEWBIE
  • 5 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 2
    Replies
Our URL will look like something EU**, once we enable the Doamin with our custom Name then our URl will change, So due to this Will there be any integrated sytems will impact!? We are going to allow to login from login.salesforce.com as well. If it impacts can someone explains How/what we need to take care of!?

Thanks in advance
Regards,
Harsha
Hi Guys,

Is it possible that Trigger.new(returns list<Sobject>) returns more one record. If its possible can someone explain when it will.

Thanks
Harsha
I am writing a scheduled class for sending emails for user who have not logged in to salesforce for 30 days, Code is working fine but now I am confused how to write test classes for that, Because all of my conditions are based on Last Login Date which is Un-Editable. Can I take data from a existing user? If i take in such a way will it effect when i move my code to other sandbox/Production? If so how to solve this.

!! Please Help !!

Thanks & Regards
Harsha.
I am writing a scheduled class for sending emails for user who have not logged in to salesforce for 30 days, Code is working fine but now I am confused how to write test classes for that, Because all of my conditions are based on Last Login Date which is Un-Editable. Can I take data from a existing user? If i take in such a way will it effect when i move my code to other sandbox/Production? If so how to solve this.

!! Please Help !!

Thanks & Regards
Harsha.
Hi folk,

i want to write a batch class for users , like which users are not logged in for 30 days and created but not not logged in within 5day, be auto matically de-activated. Field should be Last Deactivated.
How to do?  Please help me out frields as soon as possible.
schenario is--

select field from user where last loginedate < custom setting and profile in (custom settings)) and username not in (custom setting)

select field from user where last logindate is null and profile in (custom setting) and username not in (custom setting) and created date<-----

isActive--false
date--currect date