
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2019 07:20 AM
I have a wait for condition running in my workflow. I'm trying to get it to run based on a field (not a variable) when the filed u_start_date is equal to the current date time. How can I achieve this? Below if my current code.
var answer;
answer = current.u_start_date == gs.nowDateTime();
Note that my system property glide.sys.default.tz is set to US/Eastern which is what all users are set to as nobody is in a different time zone.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2019 07:37 AM
Figured it out. If I switch to a timer activity I would use set time based on "A date/time or duration filed" then I just selected by u_start_date filed. No script needed.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2019 07:37 AM
Figured it out. If I switch to a timer activity I would use set time based on "A date/time or duration filed" then I just selected by u_start_date filed. No script needed.