Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
5 replies
Subscribers
7 subscribers
Views
2086 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
I have a process that sends files to a separate system in bulk and I want to spr
ryanh
over 10 years ago
I have a process that sends files to a separate system in bulk and I want to spread the file sending out over time so as not to overload the receiving system (# of connections). I am using a timer when the user finishes their process to schedule the sending at a later time. I'm upgrading the logic to move the time from midnight (the day after the user finishes their work, based on business needs) to between 4-5:30am on that same day.
=rule!ART_GetDateTimeMidnightOfGivenDateAndNumDays(ri!dateTime,2) + 0.1667 + (0.06*rand())
Question: Is there a simple way to get a timer to run on increments less than 1 minute? Right now with 100 or so transactions occurring over the 90 minute window there is a chance the rand() function will allow a few to occur the same minute. I'd like the timer to work at say 4:35:23 and 4:35:47, so that they are less likely to step on each other.
Can the timer or clock in Appian work at the second level?...
OriginalPostID-132720
OriginalPostID-132720
Discussion posts and replies are publicly visible
Parents
0
Chris
over 10 years ago
I'm not sure if the timers realize milliseconds since we can't review anyhting less than seconds in the details - but the time/datetime functions accept millisecond inputs at least..
=milli(time(4,23,35,rand()*60))
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Chris
over 10 years ago
I'm not sure if the timers realize milliseconds since we can't review anyhting less than seconds in the details - but the time/datetime functions accept millisecond inputs at least..
=milli(time(4,23,35,rand()*60))
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data