• Vinay Chanchlani
  • NEWBIE
  • 0 Points
  • Member since 2015

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

I am trying to access the Approval Process via Metadata API, but not able to get the associated post template while using read metadata api.
Any idea how can i achieve this ?

Thanks
I was looking for the way to programmatically determine the expiration date of package licenses via PackageLicense Table, I've tried this with following ways :

1.) Via Status Column of PackageLicense  Table, but it seems that the status column in this table do not changes to Expired even after the package has expired on the org.

2.) Via ExpirationDate column, not able to understand how this expiration date is exactly used in salesforce implementation because I checked this with both user timezone and org's timezone but sometime it gets expired according to user's timezone but sometime its not exactly behaving in that way.

I've also crossed check this with GMT but seems like it do not depends on timezone.

Problem is Expiration date-time has crossed but package is still accessible to me and gets expired after some undetermined time.

Please let me know how can I exactly determine programmatically whether my package has expired or not.