locked
workflow issue RRS feed

  • Question

  • I'm trying to define a workflow that will start another workflow depending on the time of the record created.
    Example, if case is started before 15:00, run one child workflow. If case is created after 15:00 run another childflow.

    It seems like I cant do this with check condition:
    if Case: Record Created On or after [Hours: 15, Minutes: 00 After Case: Record Created On], then:
    Start child workflow: Case After 15:00 workflow

    It works normaly when I setup same workflow activities based on some other conditions, so I'm guessing I cant really play this way to define time of any day as it's relates with exact date&time.


    Anyone knows some way to create this without need of the programming?

    Monday, July 7, 2008 9:55 AM

Answers

  • You can do it from a specific time interval from when it is created, but I'm not aware of a pure workflow way to do it.  You could probably have a field that is populated onsave via javascript with the hour that is created, and then have a workflow check condition to fire the child workflows based on the value in that field (1-24).

    You can't set the execution time with workflow, as that sets both the date and time. 

    Monday, July 7, 2008 11:19 PM
    Moderator