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
3 replies
Subscribers
6 subscribers
Views
1840 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
I see how to configure a Start Node to run a process hourly. It seems to start i
prestonb
over 9 years ago
I see how to configure a Start Node to run a process hourly. It seems to start its timer whenever the PM is published. Is there a way to make it run hourly at X minutes past the hour (without waiting until X minutes after the hour and publishing the PM)?
OriginalPostID-182367
OriginalPostID-182367
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 9 years ago
What about using something as what I show in the screenshot. Adjust it based on your needs.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Jim Schweitzer
Certified Lead Developer
over 9 years ago
So, I was able to pull this off by writing an expression to find the next time the targeted minute will happen, and adding this to the "Delay until" config box.
if(minute(now()) > ri!targetminute,
datetime(year(caladdhours(now(),1)),month(caladdhours(now(),1)),day(caladdhours(now(),1)),hour(caladdhours(now(),1)),ri!targetminute),
datetime(year(now()),month(now()),day(now()),hour(now()),ri!targetminute))
Note that caladdhours uses the system default calendar by default, so you may have to create a custom calendar to use instead if you want the process to run in non-working hours.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
narasimhaadityac
A Score Level 2
over 9 years ago
Hi Prestonb.. please see if you can try to use the expression "=60-minute(now())" in the delay for.. I hope this should give us an ability to start the process during the start of the hour which you are looking for.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel