In a model mapping, I'm getting file contents for attachments through this function: DocuRef.'getFileContentAsContainer()'
In the format mapping, I'm trying to evaluate if this value (referenced below through "@.FileContentContainer") is empty in the Enabled field. No function successfully uses this information, unfortunately.
I've tried:
A:
IF( @.FileContentContainer = "", false, true)
Result:
No overload for function = matches the input parameters
Function arguments are of incorrect types in 'IF'
B:
IF( ISEMPTY(@.FileContentContainer), false, true)
Result:
Function arguments are of incorrect types in 'ISEMPTY'
Function arguments are of incorrect types in 'IF'
Function arguments are of incorrect types in 'Base64StringToContainer'
No overload for function = matches the input parameters
Function arguments are of incorrect types in 'IF'
Function arguments are of incorrect types in 'Base64StringToContainer'
No overload for function = matches the input parameters
Function arguments are of incorrect types in 'IF'
Function arguments are of incorrect types in 'Base64StringToContainer'
Function arguments are of incorrect types in 'ISEMPTY'
Function arguments are of incorrect types in 'IF'
G:
IF( LEN(@.FileContentContainer) < 1, false, true)
Result:
Function arguments are of incorrect types in 'LEN'
No overload for function < matches the input parameters
Function arguments are of incorrect types in 'IF'
Function arguments are of incorrect types in 'COUNT'
No overload for function < matches the input parameters
Function arguments are of incorrect types in 'IF'
No overload for function INT64VALUE matches the input parameters
No overload for function = matches the input parameters
Function arguments are of incorrect types in 'IF'
I feel like I tried everything but this value can't be evaluated, it seems. Any suggestions appreciated.
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.