How to exclude non-released items in the COLLECTION_COPY_ALL service call?

I am using IdcCommand to copy all content items from one folder to another folder (archives folder) on every day.
# Copy the latest version of the file from source location to target location
@Properties LocalData
IdcService=COLLECTION_COPY_ALL
fromhasCollectionPath=true
fromdCollectionPath=/Contribution Folders/folderA/
tohasCollectionPath=true
todCollectionPath=/Contribution Folders/folderB/
@end
<<EOD>>
But this service also copies the unreleased/unpublished work-items from the workflow with dCollectionPath=/Contribution Folders/folderA/. How can I exclude the non-released items in the COLLECTION_COPY_ALL service call?

Vipin Pillai wrote:I changes the source and target folders in the hda file dynamically as part of the requirement; these dynamic changes are not possible with Archiver. The archiver option is a complicated way of doing it. Actually that's not correct. It's actually much easier to use Archiver, but it requires some reading.
You can certainly use dynamic values in Archiver, as the import map value fields are Idoc scriptable - it's just not openly obvious to do this. To illustrate, suppose I have a a custom field called "xSaleDate". I can export items out, and reimport them, applying today's date to the xSaleDate field using <$dateCurrent()$> in the import map field. Historically I tend to create custom components and put very complex logic in a resource include ("myExternalLogic"), and then in Archiver, in the import map just put <$include myExternalLogic$>.
You can also do the same logic in a profile rule, which is even easier than an import map. Then the auto archiver suggestion becomes very powerful, and way simpler. I've done very many variations of this over the years, and it works well. Again it just requires some reading.

Similar Messages

  • How to include non database item in the query

    Hi
    I have a Master-Detail form. where in the detail block one of the field is text item 'X' attached the list of values(Y). Master block includes non database items which is based in the decoding result of the database items for example:
    Gender(Male, Female)>> non database item
    Gender_id(M,F)>>database item
    the form is created based on the template.fmb form for apps. When I run the form in the query mode, i can query about any database item while including query about others non database item does not affect.
    how to can i modify it so this could be handled??
    I know that one way to avoid this issue is to create a view with all my desired field.
    but there should be away to override the build in query used by oracle apps...
    any one has a link, source, document... etc that help on this??
    any idea how to do it without creating a view??
    thnx alot

    Hi HST,
    You can code the handling in POST-Query of the corresponding block to retrive the corresponding data depending on the Queried data.
    Regards,
    Kiran

  • HT1766 I purchased an iPad air and chose a backup from my iPhone 5s.  The only issue is only 30 of my photos downloaded to my iPad and none of the music.  How can I get all items on the iPad?

    I purchased an iPad air and chose a backup from my iPhone 5s.  The only issue is only 30 of my photos downloaded to my iPad and none of the music.  How can I get all items on the iPad?

    you are using I tunes as the middle man for this back up, right?
    When you plug in the pad to i tunes, give it a unique name, like my pad.  I tune may be thinking it is talking to your phone.  It will keep track of what you what on each device.  Then plug your phone back in, and make sure your photos are uploaded to the computer - in i photo if you are using a mac, or in whatever photo program you are using on a windows device.  You also want to make sure you have uploaded to the computer all of your music.
    Once you get all that stuff there, plug the pad back in, and go through each of the tabs - selecting the music, photos etal that you want on the pad, then resync.

  • How to make openitem managed GL accounts to Non open item and the implicati

    Dear all,
    Can any one please tell what are the steps to be taken for making an openitem managed GL accounts to Non open item and the implication of this change.
    Thanks in advance.
    Gokul

    Hi Gopal,
    You can maitian a gl a/c without line item display to do so follow the path
    sap easy access-accouting-financial accouting-general ledger-master records-gl a/cs-individual processing-centrally, or trans code FS00
    then open the gl account in the required company code and click control data ,then  click change and under account management in company code u can un check line item display and save the changes.
    Make sure line item display is off for recon accounts as the line item are maintained at customer or vendor level and for bank a/c line item should always be ticked on .
    Hope this is helpful if so  reward points.
    regards,
    Mayur

  • How to delete 100+ released requests from the import queue?

    Hello
    How to delete 100+ released requests from the import queue?
    One by one or there is more convinient way?
    Thanks

    To delete multiple non-imported transport requests, you do the following while in the import queue on STMS:
    1) Highlight the status field of the import queue.
    2) Sort the import queue by the status.
    3) Put your cursor on the first non-imported transport, right-click, and click on Select Block.
    4) Scroll down and put your cursor on the last non-imported transport, right-click and click on Select Block. This will highlight all requests from the first one selection to the last one selected.
    5) Go to menu option Request > Delete.
    If all of the requests in the import queue haven't been imported (no imported, including failed import, requests), you can jump to Steps 3-5.

  • How can i delete purchased items from the cloud in iTunes

    how can i delete purchased items from the cloud in iTunes

    I had this problem as well. You can't delete them but you can hide them by swiping across from the cloud to. The other side then pressing hide

  • How to delete a line item from the sales order

    Hi all,
    how to delete a line item from the sales order for which the production is already happened and it has been delivered. the production order status is DLV.
    Regards
    Kumar

    Hi
    U can do this in two ways one u can short close the order by entering Reason for rejection in VA02 at header level and if yr order is multiple line item order u can enter the reason for rejection in any of the line item which u don't want to deliver.
    This is called short close ( as the qty is not delivered fully).
    Thx.

  • How do I delete an item in the sidebar - iPhoto 11

    How do I delete an item on the iPhoto 11 sidebar?

    If they are listed under Albums, Projects or Slideshows just click on them and use the Delete key.  All other items , i.e under Library, Recent and Web can't be deleted.  However, if you hover the cursor to the right of Web or Recent you can hide them:
    OT

  • How do I remove Completed items from the Completed Reminders List? The list is growing too long.

    How do I delete Completed items from the Completed Reminders List? The list is growing too long.

    The little box, next to the reminder on the reminder page.  Touch it, and it puts a check mark there, i suppose to mean completed.  Leave the app.  When you go back, the items are gone.  ( at least on mine...)

  • Urgent: How to exclude a particular value from the selection in the infopac

    How to exclude a particular value from the selection in the infopackage.
    Ex: not load for cost center 10000
    Thank you,
    sam

    Hi Sam,
    You cannot do this directly as exclusion, but you can include all other values, even as ranges and thus exclude the particular value, else you can also try to do this by writing a routine.
    Hope this helps...

  • How can I delete all items on the "Done" list in Reminer-App? There are meanwhile hundreds of items (shopping, appoitments, ...) and I don't want to spend hours deleting them.

    How can I delete all items on the "Done" list in Reminer-App? There are meanwhile hundreds of items (shopping, appoitments, ...) and I don't want to spend hours deleting them.

    You can't remove the built-in root certificates, but you can remove their trust bits via the Edit button to prevent Firefox from using them as a trusted root certificate.
    Intermediate certificates that Firefox has stored when visiting websites that show as "Software Security Device" should never has trust bits set.
    Note that it is the responsibility of a server to send all required intermediate certificates to make it possible to build a certificate chain that ends with a built-in root certificate.

  • When I download itunes, it says that Ipod Service failed to start. I checked the services under task manager and when I try to start it, it says access denied. How to I get access and for the ipod service to start and run?

    Please help. My ipod classic could not be recognised by itunes when I connect my ipod to PC. Previously it has been recognised before I updated. This was a while ago now and so I removed all apple files and re installed the latest itunes but am having the same problem.
    When I download itunes, it says that Ipod Service failed to start. I checked the services under task manager and when I try to start it, it says access denied. How to I get access and for the ipod service to start and run?

    Some anti-virus programs (e.g., McAfee) have this rule that can be invoked under the "maximum protection" settings: PREVENT PROGRAMS REGISTERING AS A SERVICE. If that rule is set to BLOCK, then any attempt to install or upgrade iTunes will fail with an "iPod service failed to start" message.
    If you are getting this problem with iTunes, check to see if your anti-virus has this setting and unset it, at least for as long as the iTunes install requires. Exactly how to find the rule and turn it on and off will vary, depending upon your anti-malware software. However, if your anti-virus or anti-malware software produces a log of its activities, examining the log may help you find the problem.
    For example, here's the log entry for McAfee:
    9/23/2009 3:18:45 PM Blocked by Access Protection rule NT AUTHORITY\SYSTEM C:\WINDOWS\system32\services.exe \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\iPod Service Common Maximum Protection:Prevent programs registering as a service Action blocked : Create
    Note that the log says "Common Maximum Protection: Prevent programs registering as a service". The "Common Maximum Protection" is the location of the rule, "Prevent programs registering as a service" is the rule. I used that information to track down the location in the McAfee VirusScan Console where I could turn the rule off.
    After I made the change, iTunes installed without complaint.

  • How to set a timeout on the web service call

    I can use Business process or JCD wrapped as business process. I need to send a web service request and wait for 2 seconds, if the response doesnot comeback within the 2 second time frame, I need to raise the fault message and publish it to queue. Webservice external system, doesnot have configurations for the duration of the web service call, Is there any better way of getting this accomplished.
    thanks
    Kiran

    This can be solved quite easily if you use BPEL... but I think you also could do it in a JCD.
    What you need to do, is to delegate the actual web service call to a "sub service". Then you call this "sub service" using an asynchornous mechanism like JMS. After the JMS send, you do a JMS recieve waiting for your desired amout of time. If this times out, you can throw an exception or whatever.
    The "sub service" consists of queue that triggers your "sub service" that does the web service call normally. The "sub service" blocks until the web service returns a response and posts this back on a queue (you should use a dedicated reply-to Queue). If the reply comes to late, it is ignored by the calling business process.

  • How to retrieve error message(s) after failed web service call

    Hi!
    I tried to create an item using the web service ego_item_pub.process_item and it worked ok (version 12.1.1). Sending the same request again, I got an error which should be ok since the item id already exists. The thing is, that I only get an "E" as return status:
    <X_RETURN_STATUS>E</X_RETURN_STATUS>
    <X_MSG_COUNT>1</X_MSG_COUNT>
    As described in the integration repository, there should be a parameter called msg_data which should contain the message if there is exactly 1 message, but I cannot find it.
    So, I tried to get the message using fnd_message.get, but the response of my web service call is:
    AuthorizationFailure : User not authorized to execute service. (I use sysadmin/sysadmin as ws security user).
    I use the following grant details:
    All Users     Direct     GLOBAL     Revoke Action Enabled
    SYSADMIN SYSADMIN     Direct     USER
    What else can I do or how can I retrieve error messages for a failed web service call?
    Thanks a lot,
    Konrad

    Hi Konrad,
    As we've found out, search the Integration Repository for internal name ERROR_HANDLER and use that. Letting the general public know the answer for this one!
    Regards,
    Gareth
    http://garethroberts.blogspot.com

  • Had my Nikon D600 recently in for the updated service call. Camera works fine but Photoshop says it cannot open my RAW (NEF) files now? It worked fine before and I have done all my updates.

    Had my Nikon D600 recently in for the updated service call. Camera works fine but Photoshop says it cannot open my RAW (NEF) files now? It worked fine before and I have done all my updates.

    The only thing I can think of is if you got a replacement D610 as rumored here:
    http://nikonrumors.com/2014/01/27/nikon-is-replacing-some-d600-cameras-with-new-d610-model s.aspx/
    In that case, you would need the new version of Camera RAW or DNG converter as per Camera Raw plug-in | Supported cameras .
    The other thing to check is if the files open in the Nikon native ViewNX software. If they don't it's time to call the service center.

Maybe you are looking for

  • How to fit a pre-built photogallery in a 800x600 area?

    hi all. I've downloaded a prebuilt gallery .fla (570x350) from this lesson http://www.flashmagazine.com/Tutorials/detail/as3_photo_gallery/ to insert in my project (800x600). I don't understand where to fix it to adapt on my site. I've copy the fotog

  • Need to solve this Problem

    i try to read the whole text that i'm getting from the inputStream,but the text contains "\n" it means that if i use readLine to read the text, i only get the first line, If i use while (readLine() != null) i can read the whole text that i want, but

  • How do I get rid of those annoying white-on-black "?" marks that pepper the text on some web pages

    They don't appear in IE. "?" characters are on diamond shaped black background and overwrite characters underneath making it difficult to read the text.

  • Line itemwise Purchase details

    Please help me get the logic to make a z report of purchased items (line itemwise) indicating the basic qty, basic value, excise duty, cess, Add. Excise Duty, freight, etc. Please tell me the tables and fields to pickup. Thanks in advance Shuvir

  • Is it possible to have a multiple FPGA cRIO system?

    I am curios if it's possible to have a single cRIO chassis that can be expanded with additional FPGAs for computations. Meaning, I don't need more I/O but I do have algorithms taking up too much space and need a secondary FPGA to do some parallel pro