Support Portal

for ProcessRobot and WinAutomation

Start a new topic
Answered

Starting task within a task after certain time?


I have a task that runs every 1/2 hour and inside of it it triggers another task when its done but only if its past a certain time such as 3:00 PM, How to I do this because right now its not working correctly the problem is it triggers it 

AM hours too???


Best Answer

John,
Had a few adjustments to make.  Below will work for you.

image


image


image


image



Check a time range after 3 pm and before lets say for example midnight. Be sure to put current time in 24 hour format.


Get currentime as %currentime%

Format time to text as %24hrtime%

  - custom format:  hh:mm


(Enter below compound if action)


If %24hrtime > 15:00 && 24hrtime < 00:00%  <----  enter into 1st operand 

field


=    ....  select as relation field 


True  <-------  enter into operand 2 field


Then

    Start Task

End If


1 person likes this

Ok I understand most of it but How do I Format time into 24 hr time?

Ok never mind I figured it out  


I needed to make it HH:mm  not hh.mm


Thank you for your help

Answer

John,
Had a few adjustments to make.  Below will work for you.

image


image


image


image


Thank you Joseph

Login or Signup to post a comment