Question

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

  • 12 May 2023
  • 3 replies
  • 147 views

Badge +3

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

Badge +3

Attached file with more information

Userlevel 3
Badge +4

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

 

 

Badge +4

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

Reply