Quantcast
Channel: Ivanti User Community : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 15294

Condition Calculation for If there is an attachment

$
0
0

Hi

 

I need help to create a condition in request to see if there is an attachment.

 

I tried this but then it seems Request.Attachments is never null even though I don't have any attachments.  Any ideas?

 

 

import System

static def GetAttributeValue(Request):

Value = false

if Request.Attachments != null: Value = true

return Value


Viewing all articles
Browse latest Browse all 15294

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>