Announcements
Hi,
I have a date time field (not date only) and want to fill in the value with a workflow execution time to today but the time should be 00:00. How can I do this ?Thanks.
*This post is locked for comments
Dont seem like something that can be done OOB, you have to write a plugin which can update your field with just the current date.
Else, you can update the field first time it is viewed through the javascript.
Thanks.
Really not possible ??
Javascript is not an option, since the record wont be opened manually by the user
Hi Donny,
what kind of workflow it is.. real time / On-demand / custom workflow / Async ?
This little workflow assembly is what you are looking for: wfdatetimeutilities.codeplex.com
You could add a date only field, populate that in your workflow and then take that value and populate your real target field in the next step (not the same step, you need the record to actually get written in between). The intermediate field will kill off the time component.
Step 1:
Register custom workflow which will get the datetime as input and convert into required output format.
Step 2:
In your workflow, choose the custom workflow. Pass the execution time as InputParameter to the customWorkflow.
Step 3:
use the output parameter value to update the ExecutionTime (target field.)
here, we don't need to update the record twice and keep hidden field in entity as well.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ScottDurow 2
GJones 1