You are viewing limited content. For full access, please sign in.

Question

Question

Forms - Timer asking for a DateTime variable but Date and Time are kept as separate variables

asked on February 25, 2021

The timer only asks for one DateTime variable

However in Forms there is no DateTime variable, there is only an exclusive Date and Time

Seems like everything will always kick off at midnight no matter what you do.

0 0

Answer

SELECTED ANSWER
replied on February 25, 2021

At least in 10.2 - you can enable time as part of a date variable.  If this isn't enabled, I think you are right that it just does midnight.

1 0
replied on February 25, 2021 Show version history

Yep, that was added with 10.2

https://support.laserfiche.com/kb/1013809/list-of-changes-for-workflow-10-2

  • Show Time Field and Time in Date Field: You can now get and set a time field and the time from a date field both from Forms using Invoke Business Process, Retrieve Business Process Variables, and Set Business Process Variables activities.

 

Well, this link is actually about Workflow, but you get the idea...

0 0

Replies

replied on February 25, 2021

Oh I could just use 2 timer events in succession, one that uses a date and one that waits a number of hours from midnight.

2 0
replied on February 25, 2021

That's correct. Use date and add a time if you'd like to include that. 

0 0
replied on February 25, 2021

Oh, I see this, but it opens up a bit of a can of worms. Was planning to set a default time, since I am only using the time to determine when the task should kick off. I found that if I set a default time, it forces a default date, it does work though. Can I just say TODAY 09:00:00 AM instead of a specific date or something?

0 0
replied on February 25, 2021 Show version history

Honestly, the couple times I needed to get that granular, I did it in Workflow.

Called the Workflow from the form process and told the the form process to wait for the workflow to complete.

Then used the more powerful activities in Workflow like the date calculator and delay.

Can stack things together like one activity that waits for a day and one that ways for the time of day.  Something that like, that just did some delays and then ended would also be really reusable to plug in to Forms.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.