jen
01/31/2025, 5:20 PMnumber
. The value is 20. When I try to use it in a setValue I get the error You have entered an Invalid Field Value 20.0 for the following field
. If I turn it into a string (e.g. try to setValue with myval + ''
it’s fine. I have no idea wtf NS is doing here or why.jen
01/31/2025, 5:20 PMAnthony OConnor
01/31/2025, 5:45 PMAnthony OConnor
01/31/2025, 5:57 PMlet triggerObj = {
recordType: recType,
recordId: recId,
workflowId: parseInt(workflowId,10),
//why is this a thing? wf ids were getting stored as xxx.0 and failing to trigger
Anthony OConnor
01/31/2025, 5:58 PMjen
01/31/2025, 5:58 PMInteger
, the typeof of the JS variable is number
with a value of 20. E.g. if I do log.debug({title: 'myval type and value', details: typeof myval + ' ' + myval});
I get this:Anthony OConnor
01/31/2025, 5:59 PMjen
01/31/2025, 6:00 PMAnthony OConnor
01/31/2025, 6:00 PMjen
01/31/2025, 6:01 PMjen
01/31/2025, 6:01 PMAnthony OConnor
01/31/2025, 6:01 PMjen
01/31/2025, 6:01 PMAnthony OConnor
01/31/2025, 6:02 PMAnthony OConnor
01/31/2025, 6:03 PMmyval += ''
?jen
01/31/2025, 6:04 PMjen
01/31/2025, 6:04 PMerictgrubaugh
01/31/2025, 6:34 PMbattk
02/01/2025, 10:48 AMbattk
02/01/2025, 10:50 AMbattk
02/01/2025, 10:50 AMbattk
02/01/2025, 10:52 AMbattk
02/01/2025, 10:53 AMbattk
02/01/2025, 10:56 AMAnthony OConnor
02/01/2025, 3:46 PMerictgrubaugh
02/01/2025, 3:54 PM