Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Add integer to a body message

Hi,
i'm using tSendMail and i would like to send the variable :
((Integer)globalMap.get("tFileList_1_NB_FILE")) in the message body.
i got an error when i try to add it.
Type mismatch: cannot convert from Object&Serializable&Comparable<?> to String
how can i convert it to string?
Thanks
Shahar
Labels (2)
10 Replies
manodwhb
Champion II
Champion II

@Lakshmi2411,check this should work.

 ((Integer)globalMap.get("tFileList_1_NB_FILE"))<0