Workflow copy event

Hi,
I am using Content Services with workflow executed by BPEL.
It works fine for all events like upload, delete… All of these events point on a correct document id : the document that is uploaded or deleted.
Now I want to use the copy event. The problem with that event is that the pointed document id is the source document and not the target. And I am more interested in the target document than in the source one.
For example I have a document which path is : /site/library1/doc1, it id is 111111. I copy this document and paste it in folder /site/library2. The id of this new document is 2222. To do my workflow job I need the second id. How is it possible to grab it ?
With the API I have found the REQUEST_TARGETS attribute that I use to get the document id but this attribute does not works for the copy event,
Could you help me on this point ? How is it possible to get the target document id of a copy event?
Thanks for your help
Emmanuel DUPOUY

Hi..
Hope u solved the problem by this time :)
if not, try getting the target items by using REQUEST_DEFINITIONS instead of REQUEST_TARGETS.
Re: Multiple Upload not triggering properly for WorkFlows
If u already solved the problem, can you please sahre the solution..
Thanks!
Veeraswami K

Similar Messages

  • KIMYONG: Outbound Workflow Notification Event Message 를 tracking하는 방법

    Purpose
    Outbound Workflow Notification Event Message 가 발송됐으나 user가 받아보지 못한경우 가 발생했으나 user
    이를 tracking하는 방법을 알아보고자 한다.
    Solution
    1. notification 이 발송될때 oracle.apps.wf.notification.send event발생한다
    event key 로 Notification ID 를 사용한다.
    2. 다음 조건에서만 The e-mail notification이 발송된다.
    i) Notification status is OPEN or CANCELED
    ii) Notification mail_status is MAIL or INVALID
    SELECT status, mail_status
    FROM wf_notifications
    WHERE notification_id = '&nid';
    iii) Recipient Role has a valid e-mail address and notification preference is in the format MAIL%
    SELECT email_address,
    nvl(WF_PREF.get_pref(name, 'MAILTYPE'),notification_preference)
    FROM wf_roles
    WHERE name = upper('&recipient_role');
    iv) Workflow Deferred Agent Listener is running
    v) Workflow Notification Mailer is running
    3. e-mail로 발송되기전 message가 2번 정지한다.
    Raised --> WF_DEFERRED Queue --> Processed by Deferred Agent Listener --> WF_NOTIFICATION_OUT Queue --> Processed by Notification Mailer and sent as e-mail
    4. oracle.apps.wf.notification.send을 dispatch 할때 error가 발생하면
    message 는WF_ERROR queue에 enqueue되고 .
    Error Agent Listener 가 WF_XML.Error_Rule 을 수행하는 oracle.apps.wf.notification.send 의
    ERROR subscription 을 dispatch합니다.
    5. notification id 와 WF_DEFERRED and WF_NOTIFICATION_OUT queue 의 message stauts 등을 확인하기 위해 $FND_TOP/sql/wfmlrdbg.sql 를 수행합니다.
    PROCESSED in WF_DEFERRED - The message is enqueued to WF_NOTIFICATION_OUT
    PROCESSED in WF_NOTIFICATION_OUT - The message is sent as e-mail
    READY in WF_DEFERRED - Check if Deferred Agent Listener is running
    READY in WF_NOTIFICATION_OUT - Check if Notification Mailer is running
    6. notification id 의 outbound XML message 를 분석합니다.
    . The wfmlrdbg.sql output provides the XML message generated by WF_XML.Generate at the time the script is run. If the original XML message used by the mailer is required to be analyzed following SQL may be used.
    SELECT tab.user_data.text_lob text_lob
    FROM applsys.aq$wf_notification_out tab
    WHERE dbms_lob.instr(tab.user_data.text_lob,'&1') > 0
    7. 필요하다면 WF_NOTIFICATION_OUT queue 를 rebuild 합니다.
    The wfntfqup.sql script rebuilds the WF_NOTIFICATION_OUT queue by dropping and recreating
    that queue, removing pending notification messages from the WF_DEFERRED queue, and
    repopulating the WF_NOTIFICATION_OUT queue from the Oracle Workflow Notification System
    tables.
    Wfntfqup.sql Version >=115.9
    If you have implemented Oracle Alert and the WF_NOTIFICATION_OUT queue contains any pending
    alert e-mail messages, those messages must be processed before the queue can be rebuilt. The
    wfntfqup.sql script checks the queue for any alert e-mail messages and, if it finds any, the
    script returns an error message that specifies how many alert e-mail messages are pending
    and indicates that these messages must be processed before the script can run.
    Wfntfqup.sql Version <= 115.8
    If you have implemented Oracle Alert and the WF_NOTIFICATION_OUT queue contains any pending
    alert e-mail messages, those messages must be processed before the queue can be rebuilt. The
    wfntfqup.sql script checks the queue for any alert e-mail messages and, if it finds any,
    exits without performing any changes.
    Stop Notification Mailer, rebuild Mailer Queue using $FND_TOP/patch/115/sql/wfntfqup.sql.
    Reference
    Note 433359.1

    Thanks for your update.
    I have checked as per the metalink doc "242941.1" . i am getting below message only for IMAP.
    *C:\prod\scripts>%AFJVAPRG% -classpath %AF_CLASSPATH% -Dprotocol=imap  -Ddbcfile=
    c:\prod\prodappl\fnd\11.5.0\secure\PROD_qlng-s-012\prod.dbc -Dserver=qlng-s-003.
    qalhatlng.int -Dport=995 -Dconnect_timeout=120 -Ddebug=Y -Daccount=oracle1@qlng
    .om -Dpassword=System123 -DdebugMailSession=Y oracle.apps.fnd.wf.mailer.Mailer
    MLRTST : oracle.apps.fnd.cp.gsc.Logger.Logger(String, int) : Logging to System.o
    ut until necessary parameters are retrieved for Logger to be properly started.
    DEBUG: getProvider() returning javax.mail.Provider[STORE,imap,com.sun.mail.imap.
    IMAPStore,Sun Microsystems, Inc]*
    Kindly suggest need to any setup in ms exchange server or firewall level.
    Thanks

  • On a list item which runs first workflow or event receiver?

    I have a list where workflow and event receiver is attached
    event handler fires on item updated and added and workflow fires for updating the item or so.
    Kindly let me know how the priority goes to each technically
    how sharepoint handling this internally
     very much thanks in advance.
    sudhanshu sharma Do good and cast it into river :)

    After events (ItemAdded and ItemUpdated) are asynchronous by default and run after the item is added/updated and you can’t tell exactly when it’s done. It's possible the workflow will start before the after event is done.
    If you need the workflow to run after the event receiver you can try option 1 below or go with option 2.:
    Make the after events synchronous (SharePoint 2010 and up) (link)
    Set the workflow to be started manually and in the event receiver’s code start the workflow (link)

  • JavaScript in PDF: catch copy event

    Hello everyone!
    I hope this is a right place to ask my question.
    I have two questions about PDF documents.
    First. Can I make Acrobat Pro/Reader copy text with leading spaces? I mean to say if there is some text row and at the beginning of it there are some spaces, than when I'm trying to copy that line - I'll get only text and not leading spaces.
    For example I have a line:
                                                 Some text here
    and after I'll copy it from PDF and paste it in notepad I'll get next row:
    Some text here
    Can I change this behavior somehow?
    Second. I want to place a page number in buffer when copying. So, if on page number 5 there is a line I'm going to copy, after paste I want to get something like that:
    Page 5
    Coppied line
    I was trying to use JavaScript for this, but I did not found any way to solve my problem. Is it possible at all? And if possible, in what dirrection I should take a look?
    With regards
    Viktor

    It's actually not the right place for this question. It belongs in the Acrobat Scripting forum...
    But anyway, the asnwer to both questions is no.
    The position of text in a PDF is not created by adding spaces or tabs before it, so you can't copy them when you copy the the text.
    The same goes for JavaScript, which can only get single words out of the text.
    JavaScript also can't "catch" the copy event. The closest you can get is to execute the Edit:Copy menu item through JavaScript's execMenuItem(), but you can't influence the text that is being copied, so you can't add the page number before it.

  • Kicking off a workflow via Event

    Hi. How do you kick off a workflow via Event? I created a simple workflow with start--assign--stop. I created an event and subscription but when i raise it nothing happens.
    the workflow though runs when i use the launch process. What am i missing? I read an article that says the start node should be a receive event, but i couldnt find that in the owb workflow builder.
    Thanks for you help in advance.

    I think you could start your WF by setting the viewOptions.process attribute to your WF name, in the User Form you are using. When the WF is finished, control returns to the Form.
    For instance.
    <Field name='viewOptions.process'>
         <Default>
             <s>My Load From File WF</s>
        </Default>
    </Field>

  • How to catch paste/copy events in JTextField?

    Hi,
    I am trying to get paste/copy events in a JTextField when user uses CTRL-V or CTRL-C to paste or copy texts. Here is what I do:
    int keyCode = e.getKeyCode();
    if (keyCode == KeyEvent.VK_V) {
        System.out.println ("CTRL-V pressed");
        String pastedText = getText();
        System.out.println ("pasted text is " + pastedText);
    }but I cannot catch both events and pasted/copied texts.
    Any suggestions?
    regards,

    Thanks,
    The strange thing is, every time I use ctrl-v, ctrl-c, or ctrl-x to paste/copy/cut, there is always a special character (like a small square, or rectangle?) showing up at the end.
    I have to use jdk1.4.1 since I am working on a old product. That does not happen in jdk1.5 environment.
    I used getText() to get pasted text and then did a trim like this:
    String pastedText = getText().trim();But it seems the length of a pasted text is still the same after trim.
    How can I get rid of this unwanted special character?
    Thanks,

  • Workflow Business Event System Name

    Hi,
    I have installed AIA 2.5.
    While installing "Order to Cash:Siebel CRM - EBS PIP", In the Oracle E-Business Suite Server Details Screen,one of the Field is asking to provide the value for "Workflow Business Event System Name".
    How to find the "Workflow Business Event System Name" values in the E-Business Suite Server.
    Thanks
    Prashant

    Hi,
    Can anyone provide the solution "How to find the Workflow Business Event System Name for E-Business Suite Server"?
    Oracle pl. help .
    -Prashant

  • In Which table Will maintain the All Workflows Triggering Event Details?

    Hi,
    Can Any one tell me
    In Which table Will maintain the All Workflows Triggering Event Details?

    Hi Mohit,
    The Tr Codes KE29N/KE28L will give me the Logs of Past TDD runs. However, i would like to see the all the variants in a go. Due to a Organizational change, there is a new characteristics introduced. Now we need to change the sequence of the TDD runs. Since there are lot of TDD Variants that are in use. we need to get all of them into an excel and then decide the necessary changes.
    Thanks & Regards
    Surya

  • What is the Workflow Business Event Name for Order Management Price List

    Hello Everyone,
    Can anyone please help me to find out the Workflow Business Event name for the Order Management Price List?
    Thanks in advanced,
    Chandan

    Chandan
    Are you looking for business event name that is raised when the price list is created?
    Thanks
    Nagamohan

  • Copying events drive to drive in iMovie08

    How do I copy events from one drive to another in iMovie 08?  (Different than iMovie 11).  More details below:
    I have iMovie 08 and have two drives - the internal computer drive and a USB connected external.  Both show up in the iMovie event library and when I import from a camera, I am asked which drive to write to so I write to my external to save space.  Before I delete the movies from my camera card, I decided I wanted to copy the events that are on the external onto the internal so I have a backup.  I can't figure out how to do this.  Apple support documentation for iMovie 11 says that dragging onto the other hard drive copies and command drag  moves.    Documents for iMovie 08 says that dragging moves rather than copies.  This is what I find.  I drag an event from external to internal and the event disappears from the external.
    The two documents are foiund here:
    http://support.apple.com/kb/HT1026   (iMovie 08)
    http://support.apple.com/kb/PH2302?viewlocale=en_US&locale=en_US

    iMovie 08 has only Move, not copy. If you want to make a backup, you can copy the event folder in the finder and paste it on another drive. However, to use it, you would have to copy it back to the external drive where it started.
    The copy function was added in iMovie 09.

  • I want copy event log generated

    hello ,
    i have ips 4260, i want to copy event logs . it is possible. and also want to performance monitoring report of IPS 4260 where i got.
    i got statistic comand but i want to copy in regular interval is it possible to get report in periodic interval.

    download IPS manager express
    http://www.cisco.com/cgi-bin/tablebuild.pl/ips-ime

  • Linking copied workflows to Events

    I have a question, lets say i copied the standard workflow. Now how do i link the Z workflow which is copied to the event which triggers it and delete the linkage of standard workflow ? is it done automatically when u make a new version of worklfow?
    Regards
    PN

    Hi ,
    You have two possible transactions
    SWETYPV ( Type Linkage )
    SWEINST ( Instance Linkage )
    Normally I prefer type linkage.
    Here attach your Z Workflow Template to Business Object
    and Event to triggered should exceute your workflow
    And internally in this transaction call FM SWW_WI_CREATE_VIA_EVENT.
    And also check in SWDD Workflow Template -> Header ->Start Event -> Business Oject and Event triggered should have status light Green.
    I hope this will help you.
    Regards
    Ajay

  • Moving and copying events and projects to an external hard drive using Imovie09-Source clip is missing

    Some background on what I am doing is importing all of my home video into an event in IMovie. Since DVD's can only hold about 2 hours of footage, I am making a new project for each 2 hours so I can burn the footage onto a DVD. I want to make space on my internal hard drive so I am trying to move the projects that are completed to an external drive. Because I also don't want to lose any footage I have imported into the event I am also copying the home video event to the external drive. (didn't want to move it yet until I know what i am doing, just in case it is lost somehow).
    I tried moving a project to the external drive (it was a slideshow for my daughters first birthday which contained photos and video clips from the event that was already copied to the external drive). The project did move to the external hard drive but on the video clips there is a yellow triangle that says source clip is missing. I am moving and copying from within Imovie and NOT the finder so I don't understand why it says the clip is missing when it is definitely a part of the event that is already on the external drive.
    What is interesting is the source clip is missing error showed on the first birthday project but it did NOT show as an error when I moved the 2 hour home video project. (All of the video in these projects are coming from the same home video event)
    I am trying to make sure that when I move the projects permanently off the internal hard drive and onto the external drive, that I am not losing any part of my projects. I want to be able to easily move them back and forth if needed without any missing files.
    Any suggestions as to why I am still receiving the yellow triangle?

    As I can't see what you are doing, I can't tell you what you might be doing wrong.
    You could try trashing the preferences.
    Many weird things happen as a result of corrupt preferences which can create a vast range of different symptoms, so whenever FCP X stops working properly in any way, trashing the preferences should be the first thing you do using this free app.
    http://www.digitalrebellion.com/prefman/
    Shut down FCP X, open PreferenceManager and in the window that appears:-
    1. Ensure that only  FCP X  is selected.
    2. Click Trash
    The job is done instantly and you can re-open FCP X.
    There is absolutely no danger in trashing preferences and you can do it as often as you like.
    The preferences are kept separately from FCP X and if there aren't any when FCP X opens it automatically creates new ones  .  .  .  instantly.

  • Reg Workflow Copy while copying Purchase Requisition to different user ID

    Hello Guru's,
    Will anyone suggest me, i have copied a purchase requisition from user D1 to user ID2.  Once it has copied to ID2 it should work as per the workflow which is assigned to ID2.  But it is taking *ID1 workflow* is there any way to stop it and assign it to ID2 workflow. Will anyone guide me.
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Apr 22, 2008 12:57 PM

    Hi Ram
    In SWI5 transaction, check whether a work item has got generated for director and VP or not.....
    You will find the work items in SAP Inbox if system has generated a work item for director or VP....
    That will narrow your analysis
    Regards
    Virender Singh

  • Regarding Workflow triggering event.

    Hi,
    Description: I have created a Object type and a event for the same by transaction SWO1, after that i have created a WorkFlow(WF) for which the triggering event is the event i have created in the Object Type. There is a report in which i have used the FM "SWE_EVENT_CREATE" and passed the Object Type, Event Name, Key field values and the creator.
    Problem: When i am executing this report the FM is called and the sy-subrc after call is 0, stating that the call was succesfull, but the WF is not getting triggered when i went to transaction SWI2_FREQ to check this WF is not at all triggered. But when i tested from WF transaction SWDD it is working fine.
    Could anyone please explain me on this. or is there any other way to use an event of a Object Type to trigger WF.
    Thanks and Regards,
    Raghavendra Goutham P.

    hi gauthum,
    try this chks.
    Workflow Trace On/Off - SWU8
    Display              - SWU9
    Delete              - SWU10.
    Work Item Analysis    - SWI1
    Identifying workflow for the work Item :
    Tx : SWI1 - Enter the workiem id which has been identified in workflow log
           The details consists of workflow of the workitem.     
    WorkFlow Errors :
    1. Workflow Not Started           - Using Event Trace we can Identify
    2. Started but No Proceeded           - Wrong Object Keys
    3. Problem in Work Item Execution
         Dialog Work Item          - Agent Determinaion Error ( Position,Role,User )
                             - Role Resolution Error
                               Reqd Element would no be
                               Set in Binding
         Background Work Item      - Make Foreground and Test once Sucessfull make it Back round
    rgds
    nver
    if hlped mark points

Maybe you are looking for

  • Need help with easy script for open / close app and move files

    Hi, I'm not a scripter.. never done anything special perhaps more complicated than /shutdown -s on cmd.. I actually learned ASCII C language on university but never used it in real. I'm trying to create a basic script that perhaps you could help me o

  • Can I create a full backup on google drive by moving my user folders to Google Drive Folder?

    Can I create a full backup on google drive? Google suggested I simply move my folders (Pictures, Music, Downloads, Documents, etc) into the google drive folder. But these seem to be automated files involved with Mac's organization... will this create

  • Adobe Photoshop Elements 13

    I purchased this product from Staples on line and received a CE which I have installed but I cannot find a serial number and would like to know if someone can help me?

  • Essbase Calculation Issue

    Hi All, Need inputs for the following scenario. Accounts : -A -a1 -B -b1 -C -c1 -D -d1 -E -e1 All of the above hierarchy are of implicit sharing. I tagged all the children as Never Share. But is there a way so that I can get the consolidation of all

  • Connection problems to Analysis Services (local)

    Hi everybody, I can not access to "Analysis Services" in local way with SQL Server Management Studio. I get the following error:  "Unable to establish a connection. Make sure the server is running. (Microsoft.AnalysisServices.AdomdClient)" "You can n