Skip to main content
Question

IFS Workflow: java.util.Date cannot be cast to java.time.LocalTime

  • May 12, 2023
  • 3 replies
  • 265 views

Forum|alt.badge.img+5
  • Do Gooder (Employee)
  • 13 replies

Hello,

 

When setting date value to a variable to be used in a delete action I get a ‘cannot be cast’ error.  Trying to understand how to define the date variable that I should use.

 

I am also attaching a document that shows screen shots with more information detail.

 

 

3 replies

Forum|alt.badge.img+5
  • Author
  • Do Gooder (Employee)
  • 13 replies
  • May 12, 2023

Attached file with more information


Forum|alt.badge.img+4
  • Sidekick (Employee)
  • 9 replies
  • September 4, 2023

This has been fixed in below IFS versions.

IFS Fixed Version: 21.2.22, 22.1.17, 22.2.10 , 23.1.3, 23.2E.0 - 23R2 EA

Release dates: July 20, 2023

 

 


Forum|alt.badge.img+4
  • Do Gooder (Employee)
  • 9 replies
  • April 18, 2024

Hi @iam0kru,

The workflow only supports the following formats, as shown below:

yyyy-MM-dd-HH.mm.ss (2023-09-21-07.05.30)
yyyy-MM-dd-HH.mm.ss.SSSSSSS (2023-09-22-08.05.30.0000000)

Therefore, you can set the correct date and time stamp in the web browser that is used to access the environment.

 

Best Regards,

Pasan