How can you verify an attachment exists?

On the leave request form that I'm working on, there are certain leave types that require that the form originator
attach some sort of documentation, like a doctor's note if they are claiming sick leave.
In my start point, I have the "Permit adding attachments" checkbox selected, and store the attachments in a process variable called "formAttachments", which is of type "document<list>".
In my processing, I need to verify that they attached a file. I have a decision point with a conditional route that is executed if an attachment is found in "formAttachments". I've run into a problem trying to find the proper way to make this determination.
I currrently have the expression:
get-collection-size(/process_data/formAttachments) != 0
I've also tried:
getDocAttribute(/process_data/formAttachments[1],"wsfilename") > ""
to check for the existence of a filename attribute. Neither of these works.
Could someone please help me figure out the proper way to check for the attachment?
Thanks much for any help.

Upon further testing, I found that I had to create an integer variable called "numAttachments" and assign it the value of "get-collection-size(/process_data/formAttachments". I then check against the value of "numAttachments" in my conditional route. I'm assuming that get-collection-size does not evaluate as an integer, so you have to cast it to an integer value before you can use it.

Similar Messages

  • How can you verify if a vi on a remote system is running?

    Is there a way to positivly determine if a VI is running using VI server? I have a standard PC peer to peer networked to a PXI chassis. Reading a boolean on the remote vi works unless the vi was shut down incorrectly as the boolean stays at it's last state. I know you can check to see if a vi is in memory, can you check the status of it as to whether it is running or not?
    thanks

    Under VI properties, execution, state. Reading this will give you that information.

  • How can you verify the digital signature inside a form?

    I see Adobe has a separate solution called Echosign but how to use both forms and signature together?

    Hi,
    this is indeed possible.
    You can check if the change value is larger than one character.
    If so, the change value is pasted from the clipboard.
    All you need is to add this Script (FormCalc) to the change event of your field.
    if (Len($event.change) gt 1) then
              $event.change = ""
    endif

  • How can you verify your JSEngine RuntimeSize setting?

    Is there a way to get at the setting in your server side ActionScript?
    trace("Here is the runtime size for this app: " +  ?);

    If you are talking about setting which is set in Application.xml then you can choose to use Admin API command getConfig2() and get the value which is set for RunTimeSize in Application.xml

  • How can you verify your icloud account if you entered an incorrect email account as your icloud id, and thus can't receive a verification email?

    I set up an icloud account using my itunes ID as my icloud user name, and now I have a major problem. My itunes id is six years old, and it's an email address that I just found out is no longer valid (an old netscape address).  If someone tries to send an email to this old netscape address, the delivery fails. So when Apple tries to send my icloud verification message to this old netscape address, I never get the verificaton message, and thus i can't sign on to icloud.  Can anyone help?

    Welcome to the Apple Community.
    Start here, change your country if necessary and go to manage your account 

  • How can you globally keep the existing origin points in CS4 files.

    Is thre a way to globally keep the existing origin points in CS4 files.
    I understand that there are now Global Rulers and Artboard Rulers in Illustrator CS5 -
    ...but ALL the origin points in our current Illustrator documents (saved in CS4) that we use as templates for new work (last count, over 300!) and in all archived completed work have all moved to the top left of the page. All these documents were saved with different origin points to define non printing objects on the page such as our custom slug line and colour bars. Do we have to open and re-save each document with a new Global origin.

    I am in a similar situation, but with thousands of Illustrator files with 0,0 origins placed at the bottom left of objects. Now when I open a legacy document and change to global rulers, the Y axis above 0 are now negative values, they were positive in CS4 and earlier. My X values are correct.
    Is there a way to reverse the rulers so I don't have to enter negative values for everything above 0? Or is this a feature request / bug fix that needs a lobby?

  • How can I verify an apple id already created without attaching a credit card?

    how can I verify an apple id already created without attaching a credit card?

    Why do you need to verify it? Have you received an email telling you to click a link to do so? - if so it's very possible that it's a scam designed to trick you into entering your credit card details. If you have received such an email don't follow any links in it. If it's not addressed to you by name it's unlikely to be from Apple.
    You could copy and paste the email into a post here so that we can have a look at it - remove your own email address when you do this.
    If there is some other reason you want to verify the ID please give more details.

  • How can you add an image in Mail without being an attachment?

    How can you add an image in Mail without being an attachment?
    In otherwords I'd like to put my logo in the email not as an attachment but as an image.
    Is there a simpel solution to this problem?

    PBN1 wrote:
    How can you add an image in Mail without being an attachment?
    You don't.
    It's not possible. The e-mail protocol is designed for text; anything else has to go as an attachment.
    Different mail clients (such as Mail.app, the mail client bundled with Mac OS X) may have different ways of handling such attachments, but they are still attachments. Each mail client has its own rules and methods, so one may display a picture as if it were in the body of the message, but another client may do something completely different.
    A way of faking it is to format your message in HTML (which is a kind of text). The image is hosted on a remote server, not added to the message; instead, you include a link to it in the body of the message, as you would when building a web page. (This is also what the two tips helpfully provided by X423424X do, except that the link to the image is added in the signature, rather than the body of the message.) What exactly happens to it is, again, at the discretion of the mail client. In my case, for instance, displaying images in HTML messages is turned off, and will stay resolutely off.

  • How can you download premier pro when the icon doesn't exist in cloud?[was:pr]

    how can you download premier pro when the iucon doesent exist in cloud???

    In order to download the software, your computer must meet the system requirements to run the software.
    http://helpx.adobe.com/x-productkb/policy-pricing/system-requirements-premiere-pro.htmlhttp://www.adobe.com/products/premiere/tech-specs.html
    The usual reason for not being able to download is that Premiere Pro (and other video apps such as After Effects) are 64 bit only so they require a 64 bit computer and a 64 bit operating system.
    If you're running a 32 bit computer and operating system then you will not see the Premiere Pro icon since the software will not run on your computer.

  • When filling out a job application, how can you attach a reseme that stored in a app like ifiles or PDF expert?

    When filling out a job application, how can you attach a reseme that stored in a app like ifiles or PDF expert?

    From Safari on iOS (iPad or iPhone) you can't. Teh only files you can upload are image files.
    There are some other browser available, such as iCab Mobile, that include document storage and do permit this. No guarantee it would work on every site however (depends on how the upload field is set up).

  • How  can you load local server urls on application start?

    Background:
    I've been searching for close to two days for an answer to this question, it's full of gotchas and I can't quite get it figured out.
    I have an application which contains several web services. These services load up listeners when the services are invoked which makes them available for input. The user has the option of disabling automatic load of these services and invoking them manually by typing in the local url and starting the app. The can allow the autoload which uses a the or allowing the auto load to start. Currently the local url is hardcoded in a property file and this is how the services knows the local endpoint to envoke when it autostarts.
    <servlet id="AutoStart_01">
    <servlet-name>autoStart</servlet-name>
    <servlet-class>com.loadmy.StartupClass.Here</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    This works all fine and well until it's deployed onto a machine that runs a local weblogic cluster that has more than one jvm (and multiple ports) loading the application up.
    Problem
    The question is, how can you get the applicaton to recoginize the local url for the jvm that is running which can be on different ports? Here's what I've tried
    A - Using Inet.Address - This doesn't let you know what port your application is on
    B - Using the load servlet on start up ( Only the init() function is called and the request object hasn't been created and the request object is what contains ther protocol, server and port information)
    C - Loading a jsp page (READ... purposefully loading a jsp page) on application start. The thought here is that this contains a request object, but unfortunately on this doesn't work in my servlet container (currently tomcat 6 but the application is for a web logic machine)
    D - I thought about possibly using System.properties() but no luck there
    I'm at witts end on this one and I know there is something that can recoginze the local servlet container and extract the url and port from it.
    Any suggestions would be great.
    Flabergasted [sic]

    Hi,
    I had a simmilar requirement once, i also had to display some meaningful message with the busy mode icon, but i guess that comes directly from the WD Framework and is not possible to be changed. Refer the following thread, i raised that time.
    Web Dynpro ABAP
    Dont have much idea if somethig exists in portal for this.
    Regards,
    Runal

  • How can you transfer photos from one phone to another

    How can you transfer photos from phone to phone

    If you are trying to get all the photos from an old phone to your new phone, you could sync the old phone which would create a backup containing your Camera Roll. Then connect the new phone and follow the prompts to register and name your new phone. You will then be given the choice of restoring data to your new phone from a backup of the old phone. This will replace any existing data on the new phone with the data from the backup so it's really the best option if the other phone is new.
    Another option would be to connect the phone to your computer and import your photos to iPhoto or the My Pictures folder. Then you could sync the other phone and under the Photos tab in iTunes you could choose the folders/albums of pictures you want on the phone. They will not be in the Camera Roll, but they will be on the phone.
    I hope this helps.

  • How can you move the objects from one server to another?

    how can you move the objects from one server to another?

    Hi,
    Collecting objects for Transporting
    1. rsa1->transport connection
    2. left panel choose 'object type', middle panel choose 'infocube' and 'select objects'
    3. then choose your infocube and 'transfer'
    4. will go to right panel, choose collection mode 'manual' and grouping only 'necessary objects'
    5. after objects collection finished, create request
    6. If they are $TMP, then change the package.
    7. When you click the Save on the change package, it will prompt for transport. Here you can provide an existing open transport request number, or if you like here itself you can create a new one.
    8. You can check the request in SE09 to confirm.
    Releasing Transport Request  
    Lets say you are transporting from BWD to BWQ
    Step 1: In BWD go to TCode SE10
    Step 2: Find the request and release it (Truck Icon or option can be found by right click on request #)
    Note: First release the child request and then the parent request
    Steps below are to import transport (generally done by basis )
    Step 1: In BWQ go to Tcode STMS
    Step 2: Click on Import queue button
    Step 3: Double Click on the line which says BWQ (or the system into which transport has to be imported)
    Step 4: Click on refresh button
    Step 5: High light the trasnport request and import it (using the truck icon)
    Transport
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b5/1d733b73a8f706e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/0b/5ee7377a98c17fe10000009b38f842/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/224381ad-0701-0010-dcb5-d74236082bff
    Hope this helps.
    thanks,
    JituK

  • How can I verify credit of an itunes card that has already been redeemed?  My Grandson and I both redeemed itune cards on our shared account about the same time. There isn't a credit balance after his purchase?

    How can I verify credit for an itunes card that has already been redeemed?  My Grandson and I both redeemed itune cards on our shared account about the same time. There isn't a credit balance after his purchase?

    Have you checked the account's purchase history to see if anything could have used up the balance : See your purchase history in the iTunes Store - Apple Support ?
    If there aren't any purchases then try logging out and back into the account (e.g. on your iPad tap on your id in Settings > Stores and then log back in) and see if a balance then shows on it. My account's balance shows at the top right of the store's page on my computer's iTunes, by clicking on my name towards the top right of the iTunes screen, and by logging in to view my account via the Store > View Account menu option. On my iPad devices it shows at the bottom of, for example, the Featured tab in the App Store app under my account id (or you can view your account via Settings > Stores and it should show on the screen that you are taken to)

  • How can you develop photo galleries with multiple pages using the web module?

    Going through the web module I can see there are many options for developing a web page with a single collection of photos.  How can you develop a web site with multiple pages containing different categories of photos using the Lightroom web module?

    This thread will give you several ideas.
    Re: How do you embed a gallery into an existing website?

Maybe you are looking for

  • Safari and yahoo mail not getting along

    Safari and Yahoo Mail don't seem to be getting along this past month

  • Use of Receiver determination step in BPM

    Hi, I am not clear about the exact use of Receiver determination step in BPM. From my understanding, it is used for synchronous communication with many receivers configured, for eg. Multicast etc. Can anybody explain the use of receiver determination

  • Issue in Multiple Payment Method - in  "F110 Parameters"

    Prob : Wehn I enter more than one payment method in Parameters in F110 only the 1st Payment method entered is saved. The other payment method gets deleted automatically. Following is already done : 1. All the payment methods entered in F110 Parameter

  • XSLT Namespaces URGENT

    Hello everyone: Can anyone give a brief description of the precautions to take when creating xsl's that handle xml documents with namespaces. Do translets handle namespaces? There is a code sample for my problem a couple of topics below. Thanks in ad

  • Bpf with report bex with variable BPC Embedded 10.1

    Hi BPC Friends I am creating a BPF with BPC 10.1 Unified. I have attached at this BPF a BPC report based on a Bex Query with a variable for the company code. The driving dimension of the BPF  is  the company code so I have selected some company codes