Hello,
I'm making a WebRequest project to reload our Qlik Sense applications.
But I have an error on my timestamp conversion while doing an iteration (iterate or repeat), and I don't find why.
When the application start the reload process, I send a webrequest to EasyMorph with the current timestamp from java in parameter :
Math.floor(Date.now()/1000);
The goal is to take this timestamp, to compare with the last reloading date of the Qlik Sense application, to notify the user when the application is reloaded.
When I take the result, for example 1750148710 :
In my module, everything works.
I take my parameters : Application ID and the timestamp, all from the webrequest
Then, I do a webrequest to Qlik Sense to have the application informations with the last reload time, and I do an Inner Join with my parameter table on my application ID.
I take this last reload time, convert it to local time (2 hours difference).
I take my parameter ReloadTime, and convert it to a valid timestamp, to compare it with the last reload time.
At the end I'm doing a filter on condition lastReloadTime>=ReloadTime.
Everything here works, even the filter :
Without format, it seems to returns good values :

But when using a repeat (same with a simple iterate) I have this :
It's as if the conversion is not done, or the filter does not take into account the format of my parameter.
I tried multiple things, I can't make it works.
There is the debug log after an execution :
20250617 10:42:38 [ERR] [UI] Run completed with 2 errors
20250617 10:42:38 [ERR] [UI] Error: Condition must evaluate to either TRUE or FALSE. However in row #1 it's: #Reference to error in column [ReloadTime].
Source: action "Filter by condition", module "GET APP RELOAD TIME", table "Get All Qlik APP (last reload time à heure -2, besoin de modifier le timestamp)"
[0] Exception message: Condition must evaluate to either TRUE or FALSE. However in row #1 it's: #Reference to error in column [ReloadTime].
[0] Exception type: Exception
[0] Exception source: FSharp.Core
[0] Exception stack trace: at Microsoft.FSharp.Core.PrintfModule.PrintFormatToStringThenFail@1448.Invoke(String message)
at Morph.DataServices.DatasetModule.Filter@301-1.Invoke(Int32 )
at Microsoft.FSharp.Collections.ArrayModule.Parallel.Initialize@2540-1.Invoke(Int32 i) in D:\a_work\1\s\src\FSharp.Core\array.fs:line 2540
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.b__0(Object )
[0] Inner exception is empty
20250617 10:42:38 [ERR] [UI] Error: Iteration of module "GET APP RELOAD TIME" failed.
Source: action "Repeat", module "Main", table "Reception WebRequest"
Called module: module "GET APP RELOAD TIME"
Overridden parameters:
{TargetAPP} = 7adeca4d-89bd-4aa3-9ad5-ab44dba90ba7
{ReloadTime} = 1750148710
Can you help me, or explain me what's wrong ?
Thank you