Wait Shape: How to configure the step to pend the case towards the employee start date
In the exerise the case needs to be pendend until the employee start date has been reached. For that the step has the configured as a multi-step process using the smart shape Wait. How is the Wait shape to be configured to actually wait on the date set in the property Employee.HireDate.
Using the smart prompt Wait for fields only properties from __.Work.____; ____@baseclass____ can be selected but not SAE-Hrservices-Work class
So it seems additional configuration is needed to make it hapen that is not explained in the course.
I would approach this by setting properties (with set properties or data transform) in the flow action between the Wait assignment and the Wait smart shape, but this isn't covered in the exercises, probably so that we can continue to test our cases without having to wait for the actual employee start date. You can configure the Wait shape to wait a time interval like 1 minute to actually put Wait time in, and still be able to test the rest of your stages.
The original intent of this exercise was to see if one could discern the necesary design pattern; that a wait shape was needed to suspend the processing of the case until the new hire acutally started. Process decomposition can be tricky, and these types of details are often overlooked during the headlong plunge into "coding."
Having said all that, you could make a direct reference to the .Employee.HireDate property - if the type were DateTime. That particular setting "Wait for: Future date/time" is particular about just that. You could probably crack open the Expression Builder and build what you need, but the path of least resistance would be to use a property with the appropraite type.
Sorry about the disconnect between how .HireDate is defined and how it should be defined to get this particular example working.
I have similar requirement, and also i have one additional requirement of resetting the new hire date of the emplloyee which would be post current date time already entered, when updated with new hire date still it is resumed at old hiredate.