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

Question

Question

Date format in email from Forms - no Token Editor?

asked on December 9, 2016

Our Form process is set up so that, if our Approver hits the Reject button, an email goes to the Applicant that says, " ...your application for a fire permit on (start date) has been denied ...".

My problem is with the date format.  It's coming in as 26/12/2016 and I want it to show as December 26, 2016 (on the email only).  The long date format is not available in the field's date format options and even if it was, I wouldn't want to set it as the long format for everything (just for the email).  Is there another way to accomplish this in the email? 

 

 

0 0

Replies

replied on December 12, 2016

You can go to C:\Program Files\Laserfiche\Laserfiche Forms\Forms\bin and edit RoutingEngineServiceHost.exe.config and change the values of following two appSettings

 <add key="UseSystemDateTimeFormat" value="false" />
 <add key="DefaultDateFormat" value="MMMM dd,yyyy" />

Then restart Laserfiche Forms Routing Service. This will make all the date processed by Laserfiche Routing Service to use that format which include the date in Email Service Task/Save To Repository Service Task/Workflow Service Task.

1 0
replied on December 12, 2016

Thanks, Xiuhong.  I will bring this info to my IT's attention for discussion regarding our options, but will probably not attempt it yet.  If I understand correctly, this will make every date throughout the Forms module formatted this way.  I was hoping to only have the dates in the email tasks formatted this way.

0 0
replied on December 12, 2016

Forms does not support custom date formatting on a per activity basis at this time. You could pass the email task to Workflow through a service task and do your formatting there.

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

Sign in to reply to this post.