Copy workflow issue - Only works first time

Hello
I created a simple "copy" workflow with SPD:  it should automatically copy to another library any new files that match a condition , as they are uploaded.  
If Current Item:Doc Type equals JobReport
 Copy item in Current Item to Job Reports
 Stop the workflow and log File copied
It works with the first file, then it quit working, even if disaply "Completed" in the workflow outcome field.
Source Library is DocSet enabled, while destination library is not.
Any idea? Thnks
Lucio 

After a couple of days of "try this, try that" I've concluded that the problem was caused by the <jsp:include>. As I'm learning, one must be careful when mixing JSF and ADF components, as well as how components are nested within containers.
I was hoping there would be a way to visually develop a page fragment in one file, and then include it in another file. But I could not find a way to do this.
What I'm doing for now is:
1. Create a jspx file for my sub-page (so I can develop it graphically).
2. Create a jspf fragement file, and include that in my main page using <jsp.directive.include>.
3. copy/paste from the jspx file to the jspf file to test (but only copy the portion between the <af:form> block.
Seems to work. I'm open to better suggestions.
Don

Similar Messages

  • UploadedFile & https Only work first time upload ????

    I am using 10.1.3.4 Jdev. I use UploadedFile interface to upload files from local PC and ftp files to unix server. My "upload" web page works between my local PC and Unix server, but it only works first time upload file and ftp between
    https server (application server--weblogic 10.0) and Unix server. If I just use http without SSL and my codes work fine you can upload file as many times you want and ftp them to Unix server. I used FTP not sftp to transfer files from application server to unix server. Can anyone shed some lights on my head ???? Thx.

    Yes. I changed my code to SFT from ftp. it works. Thx. This URL for sftp: http://www.jcraft.com/jsch/ and is very good .
    Edited by: albertpi on Feb 11, 2010 8:05 AM
    Edited by: albertpi on Feb 11, 2010 8:05 AM

  • Permissions issue only the FIRST time I try to overwrite a file.

    I've a standard user account and I've found overwriting protected files is bugged in Leopard.
    As an example: every time I'm upgrading Camino web browser with the latest nightly build (by dragging the new version from it's disk image, and into the Applications folder) I get a permissions issue the first time only. As usual I am warned I will need to authenticate, then I am warned I will be replacing a file, then the first time only I get told I do not have sufficient privileges on one or more items to continue. The second time I try I am allowed to progress to the authentication window where I enter my admin username and password and the operation completes.
    The same thing happens with other files I'm trying to overwrite that are located in protected folders (I just use Camino as an example because it is a daily occurrence). But it ONLY happens the first time.
    This has persisted through three erases of my brand new iMac's HD and clean installations of Leopard. I have of course run Disk Utility multiple times to repair the HD (no errors found) and repair permissions (just the usual ACL errors every Leopard user faces).

    Hi,
    What's the error message did you get? It would be better to provide a screenshot for your problem.
    Generally speaking, this problem can be caused by third party adds-on of IE. You can try to start IE with no adds-on mode for test.
    Open run, type iexplore -extoff, pess
    Enter.
    If it works properly, please chck which plugin enabled in your browser, try to disable them for test.
    In addition, this can also be caused by IE settings, try to reset IE for test.
    Roger Lu
    TechNet Community Support

  • Af:commandMenuItem action only works first time

    I am using the af:panelPage, and have added a menu1 facet that contains an af:menuTabs component with 3 af:commandMenuItems. I'd like the selection of each tab to invoke a bean 'action', where I'll set some flags that control the rendering of different subviews.
    I really like JDeveloper and ADF Faces... but I must be misunderstanding something basic. It all seems easy, and when I run and select one of the tabs, the correct 'action' is called and all works great. But when I then select a different tab, the 'action' is not called. Nothing happens after this.
    I'm still learning both web-aps and JSF stuff, so hopefully I'm just doing something dumb.
    The .jspx stuff looks like:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
     xmlns:f="http://java.sun.com/jsf/core"
     xmlns:h="http://java.sun.com/jsf/html"
     xmlns:c="http://java.sun.com/jsp/jstl/core"
     xmlns:af="http://xmlns.oracle.com/adf/faces/EA16"
     xmlns:afh="http://xmlns.oracle.com/adf/faces/EA16/html">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
     doctype-system="http://www.w3.org/TR/html4/loose.dtd"
     doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <afh:html>
    <afh:head title="try1">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
    </afh:head>
    <afh:body>
    <af:form>
      <af:panelPage binding="#{backing_rmMain.panelPage1}">
        <f:facet name="menu1">
          <af:menuTabs binding="#{backing_rmMain.mainTabsBar}">
            <af:commandMenuItem text="Overview"
              binding="#{backing_rmMain.overviewTab}"
              action="#{backing_rmMain.overviewTabAction}"/>
            <af:commandMenuItem text="Configuration Setup"
              binding="#{backing_rmMain.configTab}"
              action="#{backing_rmMain.configTabAction}"/>
            <af:commandMenuItem text="Results View"
              binding="#{backing_rmMain.resultsTab}"
              action="#{backing_rmMain.resultsTabAction}"/>
          </af:menuTabs>
        </f:facet>
        <f:subview id="overviewPage" rendered="#{backing_rmMain.showOverview}">
          <jsp:include page="/WEB-INF/pages/Overview.jspx"/>
        </f:subview>
        <f:subview id="configPage" rendered="#{backing_rmMain.showConfig}">
          <jsp:include page="/WEB-INF/pages/Config.jspx"/>
        </f:subview>
        etc...
      </af:panelPage>
    </af:form>
    </afh:body>
    </afh:html>
    </f:view>
    </jsp:root>
    The backing bean action handlers simply set some booleans and return (I've tried returning both null and a simple string value... I'm not using navigation rules for this). If I set breakpoints, the action handlers get called, but only for the first selection.
    Thanks for any suggestions or help.
    Don

    After a couple of days of "try this, try that" I've concluded that the problem was caused by the <jsp:include>. As I'm learning, one must be careful when mixing JSF and ADF components, as well as how components are nested within containers.
    I was hoping there would be a way to visually develop a page fragment in one file, and then include it in another file. But I could not find a way to do this.
    What I'm doing for now is:
    1. Create a jspx file for my sub-page (so I can develop it graphically).
    2. Create a jspf fragement file, and include that in my main page using <jsp.directive.include>.
    3. copy/paste from the jspx file to the jspf file to test (but only copy the portion between the <af:form> block.
    Seems to work. I'm open to better suggestions.
    Don

  • Simulating animation by iterating - JLabel icon. ONLY  Working first time!

    I am "simualting" animation by changing the icon attribute of a JLabel. If I call the method from main, this works. It also seems to work (ie. the JLabel image changes on the screen as the icon attribute is changed in the program.) if I call it first from another or its own class one time, but not after that. What happens on subsequent calls is: The thread.sleep() is working (time passes), and the icon attribute of the JLabel is chaging (lblCaveActive.getIcon() for the JLabel returns the correct changed *.gif, but the images do not show up on the screen, until the last image, whatever I set it to be. I am pulling my air out over this little problem, which is the last lingering problem I am having with this project....I was wondering if you have seen this or have any ideas? I have tried lots of different things, including repainting and such. If you have a clue concerning this, please please please advise, o wise one.
    * simulates animation: ex. Wumpus approaching to eat the
    * player, bat appraoching to transport player
    * @param: int numPics - number of pictures to loop through
    * @param: String picNamePreface - filenames must be "*0.gif" through
    * picNamePreface + numPics + ".gif".
    * Send the "*" portion into this arg
    * @param: int milliSecSleep - seconds for the thread to sleep between
    * pictures
    private void animateMeetHazard(int numPics, String picNamePreface,
    int milliSecSleep)
    try
    for (int i = 0; i <= numPics; i++)
    caveCurrentIcon = new ImageIcon(picNamePreface + i + ".gif");
    lblCaveActive.setIcon(caveCurrentIcon);
    Thread.sleep(milliSecSleep);
    catch (InterruptedException e){}
    --A very tired girl.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Something like
    private void animateMeetHazard(int numPics, String picNamePreface,
    int milliSecSleep)
    try
    SwingWorker workHard = new SwingWorker()
    public Object construct()
    for (int i = 0; i <= numPics; i++)
    caveCurrentIcon = new ImageIcon(picNamePreface + i + ".gif");
    lblCaveActive.setIcon(caveCurrentIcon);
    Thread.sleep(milliSecSleep);
    return null;
    public void finished()
    workHard.start();
    catch (InterruptedException e){}
    Not really sure if the Thread.sleep() will throw you out and give you the same problems .. but it mightn't ;)

  • PRs workflow triggered only the first time

    Hi all,
    do you know a way to trigger a workflow for Purchase Reqs only when the first agent (requisitioner) releases it and not at every step? I'm managing all the release strategy inside a custom workflow and the cancel release as well.
    I'm using BUS2105.eventstepcreated as start event but it is triggered in each step (as the name suggests ) and also for a cancel release.
    Thanks in advance.
    Angelo

    Hi Angelo.
    Sorry if I have different perspective.
    You can enhance the standard workflow for PR (single release and collective release). This workflow triggers for each PR created.
    And instead of you manage release strategy inside your workflow, you can maintain release strategy (release group and release code) inside the MM configuration by assign to specific object type. This approach will capture agent assignment from the configuration and calculate the release strategy (include the classification) as well

  • Home wifi connection only worked first time?

    Hello.
    Second day with my new 3GS and it says 'unable to join the network BP'. When I first switched it on last night it found the network, I entered the password and it was connected. Even made a phone call via Skpye - very cool! Love this phone, hoping a simple glitch to fix this problem? Reading old posts I have tried restoring network settings, turning off, reentering WPA and SSID. Have checked Apple support page. Not sure about router settings - should I be calling Bigpond?
    Thanks.

    You should not have enter the SSID unless your router withholds it to hide your network. I would try re-starting the router and the network should appear in the Wi-Fi network list and your iPhone should join your network automatically without re-entering the password and assuming it is in range of the router.

  • Need to restrict triggering of workflow only once(first time).

    Hi guys,
    I hv a requirement to trigger the workflow only once(first time).
    whatever is the the condition/changes in document, it should not trigger for second time.
    do we hv any options available for this........
    thanks in advance...
    santosh.

    Hi susan,
    Below is the requested information,
    Release : ECC 6.0
    we are working on custom WF for ECO creation(CC01).
    Description,
    ECO is created in SAP by legacy system, thru bapi CCAP_ECN_CREATE, the WF will take the editing of the material in that ECO to different departments like MRP, accounting, sales,quality etc.... & respectively creates the views.
    we cannot use CREATE event, bcos first the ECN(CC01) is created by bapi & further bapi creates the material & inserts it into ECN again, which is CHANGING the document. once this is done, our WF should trigger.
    As we dont have CHANGE event in ECM BO, i am using CREATE event & settting it for ON CHANGE in SWEC t-code.
    Bottomline is , it is triggering as soon as any changes happens.
    But, we want it to restrict for one time triggering.
    Regards.
    santosh.

  • Taking action only the first time an event executes

    I want a certain action to occur only the first time an event handler for a button is called. Is there a simple way to do this?
    Bill F

    There are two pretty easy ways to do this.
    If you want to continue to trap other events (other event cases in your event structure), use a shift register:
    1. Add a shift register to the loop containing your event structure. (right-click on the left-hand border of your loop and select Add Shift Register).
    2. Wire a numeric constant = 0 from outside the loop to the input (left-hand) terminal of your shift register.
    3. Inside your event structure, in the event case you want to handle only once, put a case structure around the code you want to execute only once. That code should be within the True case.
    4. Add an Equal To 0? function (from the comparison palette) to the loop. Wire the input shift register to the input of Equal To 0?. Wire the output of Equal To 0? t
    o the selctor for your new case.
    5. Within the True case of your new case structure, add a numeric constant = 1. Wire that constant out to the output (right-hand) side of your shift register.
    6. Within the False case of your new case structure, wire the input side of your shift register to the output tunnel created by the wiring in step 5.
    This way the event structure will keep running and handling other events, but the case you just modified will only run the first time: the first time you get the event, the shift register will = 0 so you'll execute the True case of your new case structure. Within that case, you set the shift register to 1. The next time you get that event, the shift register = 1, not 0, so you'll execute the False case and not the code in your True case.
    If you want to stop all event handling after the first event and your event handler is the only thing with its loop, from the event case (for the event you want to stop on), wire a True boolean constant out to
    the Stop terminal of the loop containing your event structure.

  • App file sharing: files are displayed only the first time...

    clicking somewhere else and then back to the application that you want to share files are not there any more.
    I've to close and re-open the itunes in order to see them again.
    itunes is running on windows 7 64bit.
    is this a bug ?
    thank you.

    Hi! I have the same, exact problem. The files are displayed only the first time I look at the apps listed under File Sharing. If I look at another app on the list, the files on the one I previously checked are gone when I look at it again. Is there any way to fix this? I have a Lenovo X61s on Windows XP Professional 32 bit.

  • QuickTime launches slow but only the first time

    QuickTime is slow in Mac OS 10.7, that's been widely discussed.
    In my case, QuickTime is slow to open up a video file (MP4, AVI, WMV, etc,), but only the first time.  After I've successfully opened up the one video file, all subsequent video files open up quickly, even after quitting QuickTime.
    However, after a restart it's the same old situation again.
    Is QuickTime installing something, then removing it when the computer shuts down?

    QuickTime is slow in Mac OS 10.7, that's been widely discussed.
    In my case, QuickTime is slow to open up a video file (MP4, AVI, WMV, etc,), but only the first time.  After I've successfully opened up the one video file, all subsequent video files open up quickly, even after quitting QuickTime.
    However, after a restart it's the same old situation again.
    Is QuickTime installing something, then removing it when the computer shuts down?

  • Copy/Paste Settings in Develop Module Never works first time

    Only just noticed this one since upgrading from LR4 Beta to LR4.
    First session developing a few shots taken over the weekend (.CR2 RAW files). When I only have a few shots, all taken in the same environment,  I tend to just get the first one right and then Copy the Develop settings, and paste them onto each subsequent shot.
    What happens on my 64 bit Windows 7 box - the first time I paste the settings to any shot, I get the task bar appear at the top right, which after a brief time changes to 'task completed' - but no settings have been pasted.
    If I then paste the settings it works the second time.
    This has happened to me consistently across around 30 shots now.
    Anyone else seen this?

    http://forums.adobe.com/message/4248993

  • Hyperlinks work only the first time clicked when published

    I am using hyperlinked text captions for slide navigation within a course.  I have placed the text hyperlinks on the master slides so they appear throughout.  The hyperlinks either link to an external pdf (job aid) or to another slide within the course. 
    When I publish the course, the hyperlinks only work the first time they are clicked.  All other times, I get the hand cursor when I roll over them, but nothing happens when I click.  Is there a setting somewhere to allow for infinite clicks on they hyperlinks?

    Hi there
    Odd that this would happen. There is no setting I'm aware of that determines the number times a link may be clicked.
    My guess is that something else is going on. Normally, the slide is paused when the link is clicked. Is this the case for you? One thought is that by clicking the link, the pause is released and perhaps the link is then no longer active because the playhead reached a different spot?
    Cheers... Rick

  • Hand off works only the first time

    iphone 6
    macbook air 2012
    hand off always works on the phone...i can see what is on the mac...
    but on the mac i cannot see what is on the phone
    log out iCloud on all my devices...log back in...
    it works on the mac...i see the iPhone app icon on the mac dock left most position....
    i click it...the iPhone app opens on the mac...great!!!
    but when i close the app on the Mac hand off is gone...
    e.g. it works the first time...
    (p.s. phone calls can be made from the mac, message is all synched...that part works...)

    fixed it...
    my behavior was very similar...it rarely intermittently worked...i somehow stumbled on the fact that it was a bluetooth issue...then i finally fixed it...now it works like a charm...here is a post i made after i fixed it...turns out it has to do with allowing "bluetooth and internet connection sharing..."  here is a post a made with my solution...hope it works for you...
    Had a similar problem...
    open an app on mac...can see it on phone...
    open an app on phone...cannot see it on mac...or see it once then its gone...
    my problem (not sure if it is yours)...
    Mac-->System Preference: Sharing
    1. Turn on Bluetooth sharing; 2. Turn on Internet sharing bluetooth PAN...
    worked for me...
    (have not seen anyone or apple post this...they should)

  • Burning a new CD-RW works first time, doesn't work after erase

    Hello all,
    My problem has a little twist that I couldn't find a solution to after spending a
    few hours digging in all the forums.
    I have never been able to re-use a stack of Sony CD-RW disks (p/n CDRW650L
    rated for 1X, 2X, and 4X drives).
    I can burn them fine the first time but doing an erase renders them unuseable.
    I've been using a utility called CD-Erase that came bundled on this iMac G4.
    I recently learned that I can (should?) erase from the Disk Utility app -
    however, this didn't work either.
    Is there a known list of incompatible CD-RW 's ?
    I have yet to try another mfgr since I ASSUME I can trust name brands,
    especially if the CD-RW and the drive are both made by Sony.
    Details of my internal drive:
    Manufacturer: SONY
    Model: SONY DVD RW DW-U10A
    Revision: A43h
    Serial Number: EA59142B
    Drive Type: CD-RW/DVD-RW
    Disc Burning: Apple Supported/Shipped
    Removable Media: Yes
    Detachable Drive: No
    Protocol: ATAPI
    Unit Number: 0
    Socket Type: Internal
    Thanks in advance,
    Craig
    iMac G4 17-inch flat panel   Mac OS X (10.3.9)   DSL
    iMac G4   Mac OS X (10.3.9)   DSL

    I'm unfamiliar with the disc erase utility you mention; and it may be
    partially responsible for the results you are getting. Have you tried
    other disc recording utilities to see if you can get better results?
    The only one I've tried, and it worked successfully to erase and record
    on a previously used CD-RW (the first disc I've burned) was an easily
    used disc recording utility called "Burn 1.6u" and there may be a newer
    version of this out, now. Seems to me I checked and found a link online
    again to get a newer version from the source: http://burn-osx.sourceforge.net/
    Hope this helps; and if it does, please post back. Could be the issue is
    only in the erase cd utility you have. It may be making mistakes.

Maybe you are looking for

  • Sales order exit to bypass credit check

    Hi , AS IS : if the customer exceeds the credit exposure a pop up for static credit check comes while saving the order  and the order gets blocked , and every time it has to be unblocked manually. To BE : Our client wants that Credit check should onl

  • Down payment at PO level without line item

    Dear All At the moment when we post down payment request and confirm down payment F-47 and F-48. The system will ask for PO number with line item no. In practical situation we pay down payment against a PO and not against each line item in PO. e.g. I

  • InDesign keep telling me I have missing links.

    Hi all, We recently did some server switching at work and let me say upfront this is not one of the "How do I update thousands of links?" questions. I have already combed through those with mixed results. Anyhow, after moving everything and opening I

  • How to create a total row in a DynPro table ?

    Hello, I've created a standard table in DynPro which consist two lines: One indicating a certain count and the other indicating a certain amount. I would like to create at the end of the row a total row which will sum it's relevant column. How can I

  • New Firmware for WRT54G v5

    Guys, If you're still having problems with your v5 router, Linksys has just recently released the latest firmware which is version 1.00.9. You can download the file on the link given below. http://www.linksys.com/servlet/Satellite?c=L_Download_C2&chi