ACL - current ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2016 03:34 AM
I'm writing ACLs for TimeCards and here is the issue I faced: within ACL Script I want to log:
gs.log('**** TimeCard.Sunday.acl.week_starts_on = '+current.week_starts_on);
However value of current.week_starts_on is always different and unpredictable. Sometimes I can get date that is one or two weeks ahead.
Only last hour it got to normal work returning the real value of week_starts_on.
**** TimeCard.Sunday.acl.week_starts_on = 2016-10-16
Any ideas of possible root-cause?
P.S. Additionaly I was calling Script Include from ACL Script field and passing current object to Script Include.
Script Include also logged unpredictable values.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2016 08:37 PM
Try getDisplayValue() and see if that helps
gs.log('**** TimeCard.Sunday.acl.week_starts_on = '+current.week_starts_on.getDisplayValue());
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2016 04:10 AM