Workflow: delete content item after exit

I am using criteria workflows and in one of the steps, if the Action is Reject, content is exiting the workflow (wfExit). At this point, the document is Released and is visible to users with access to it. Is it possible to delete the document before it is published, without any human intervention?

Guys, sorry to interrupt, but IMHO your discussion has one flaw: neither REJECT, not wfExit(100,100) can be caught in the Exit event (of the step where they happen).
As for REJECTs (to which workflow step it returns) see UCM 10G workflow reject issue or wfAction Reject is not working
As for wfExit(100, 100) I tried to following scenario:
Step 1 (Revision/Edit Current)
Entry: <$trace("Step1 - Entry", "#log")$>
<$if wfAction like "REJECT"$>
<$wfExit(100,100)$>
<$endif$>Exit: <$trace("Step1 - Exit", "#log")$>Step2 (Revision only)
Entry: <$trace("Step2 - Entry", "#log")$>Exit: <$trace("Step2 - Exit", "#log")$>Now, if you check-in an item, approve it on step1 and reject on step2, the log will contain:
Step1 - Entry
Step1 - Exit
Step2 - Entry
Step1 - Entry
IMHO, what you could try is to execute the delete in a filter hooked to advanceDocumentStateMarkWorkflowFinished, which is Executed just before a content item in workflow is marked as finished. You can perform additional logging, or update external resources with this filter.

Similar Messages

  • ALUI Publisher 6.4 - deleting of content items after expiry date

    Hi, We have a requirement to delete content items from Publisher after the expiry dates. Is there a process to do this within ALUI Publisher 6.4? Appreciate any suggestions or thoughts. Thanks.

    I work with publisher for a long time now, and I don’t think that there is an automatic process that dose that, you have to manually delete it when it is expired.
    -Lilach

  • Possible to delete SC item after PO creation?

    Dear all
    We use Extended classic. I need a piece of info.
    I am able to delete the SC item after PO creation..! Is it allowed as per general business scenario. Is it possible to delete SC items after PO creation?
    How to curb this?
    Please share your valuable knowledge in this regards
    Thanks in advance
    Krupa

    Hello,
    As per standard design, it is possible to delete a shopping cart if only                 
    one follow-on document exists. For example, a purchase order or a                        
    purchase requisition.                                                                               
    When you delete the shopping cart in EBP, the deletion indicator will                    
    be set in the purchase order.                                                                               
    You cannot delete the shopping cart if the follow-on document has other                  
    follow-on documents, like confirmation or invoice.                                                                               
    The following is the standard behaviour for SC/limit SC deletion:                                                                               
    SC -> PO : deletion possible                                                             
    SC -> PReq: deletion possible                                                            
    SC -> PReq + PO: deletion NOT possible                                                   
    SC -> PO + CF: deletion NOT possible                                                     
    SC -> PReq + PO + CF: deletion NOT possible                                              
    SC -> PO + CF + INV: deletion NOT possible                                               
    SC -> PReq + PO + CF + INV: deletion NOT possible                                                                               
    Standard logic: in general SC does not prevent the deletion of SC items                  
    just because of existence of follow-on documents.                                        
    The SC item itself does not know if the deletion is possible.                            
    It just tries to delete the corresponding item of follow-on document.                    
    If this deletion has been successful, then also the SC item can                          
    and will be deleted. If the deletion of follow-on document item has                      
    failed, the SC item deletion is not possible.                                            
    So it is a task of follow-on document to know if its items can be                        
    deleted or not.                                                                          
    Best regards,
    Ricardo

  • Not alow delete content Item has status release after finish wokflow

    Hi all,
    I create Content Item in the WebCenter Content with a workflow to approve it. After content item was approve and status is "Release", It will show on my portal. I saw that at this status, I still can delete this content Item. In this situation, It not alright with us. In fact, at a news website, when a news was public it can't be deleted so easy like that. The News only can be deleted when it was taken down(not public again) from the website. If the news still public no one have right to delete it.
    Do you have any idea with this situation?
    Thanks a lot!
    Edited by: AS84 on 01:58 03-02-2013

    I understand what you want to do, but I'm missing details how you do it, and why.
    Anyway, I will try to guide you through the lifecycle, following your scheme:
    a) Step1 (Content does not exist): User A will need at least RW permissions to create the content. The content will enter a criteria workflow to be approved.
    b) Step2 (Content in the workflow): User B will need at least R permissions to read the content and approve it. As soon as approval occurs, the content is released
    c) Step3 (Content published to the Website): all users will need at least R permissions to view the document. User B will need permissions to "unpublish" the content. You did not answer my question how this "unpublishing" is achieved. I would recommend you to expire the content. Expired content is no longer present on the site, cannot be searched for, but is not deleted. Expiration may take place when a user sets up the metadata Expiration date (dOutDate - see http://docs.oracle.com/cd/E23943_01/doc.1111/e10792/c03_processes.htm#r5c1-t19 ). You may want to customize your system that i) expiration is one-click activity b) only User B can expire the content. Unfortunately, security model does not allow securing metadata changes - all users with R permissions can modify metadata. You could define a profile that will hide the field to all users, but User B, but to be absolutely sure, you would have to add a filter that will (on server-side) prevent anyone else to do it.
    d) Step4 (Content expired) You again did not answer, if there is any particular reason for not deleting expired content. Therefore, I will expect that there is none. You could use the Archiver to delete all expired content for you in a batch (once a day/week/month).
    As you see, no one in the scheme above can actually delete the content.
    Another possible implementation would be using: http://docs.oracle.com/cd/E23943_01/doc.1111/e10792/c05_security.htm#sthref863 (AuthorDelete=true) where only the user who is marked as the author (or in this context, rather "owner") can delete the document. This would be a bit awkward, though, as you would need to modify the value of dDocAuthor - this would again require customization.
    Yet, another implementation would be using ACLs http://docs.oracle.com/cd/E23943_01/doc.1111/e10792/c05_security.htm#CDDBCIDA where User A in Step1 would have RWD permissions, and UserB would revoke User A's WD permissions (via ACLs), to grant them back in Step4. This will not require customizations, but on the other hand this would put much more responsibility (and training issues) to User B. Besides, ACLs can affect overall performance of your system.

  • Subcontracting Order - No error when delete an Item after I made 541 MB1B

    Hello ,
    I want to know if I can solve by Customimzing that the SAP send me an error when I try to delete an item of a
    Subcontracting Order AFTER I have made 541(Transfer posting to stock with subcontractor)  for this item  ...
    The system shouldn´t allow this action ...and it does !! .
    Some body have any idea what could be ??
    I have SAP R/3 Release 6 C
    Kind Regards.

    ...The system shouldn´t allow this action ...and it does !!...
    Why should not it allow? One thing is that you provide the subcontractor with components and one thing that they use it for production.
    There migh be business processes when the subcontractor cannot avoid using the compoenents but there might business processes when the subcontractor won't use it (e.g. the subcontractor gets different instructions in the meanwhile or uses its own rawmaterial or the client changes his mind and doesn't need one component, etc).
    In my opinion there's no such setting in SAP.
    Best regards,
    Csaba
    Edited by: Csaba Szommer on Aug 26, 2009 7:55 PM

  • Delete a content Item and continue showing the information in  UCM

    when i deleted a Content Item and after i verified that the information of content item was delete but in the content server the information continue of the content Item that was deleted , i done click over ID show error " page not found"
    how can i do for deleted the item definitely of UCM? or is a error of UCM?
    Edited by: feliche on 9/07/2012 03:02 PM

    Hi ,
    Run collection rebuild and the deleted items will be removed from the index . Then those set of contents will not show up in search results .
    Thanks
    Srinath

  • How can we implement workflow for Deleted content

    Hi Experts,
    whenever we delete a content , It never went into Workflow.
    I want when user delete any content, It should go into workflow. When approver approves it, only then content item should actually deleted. If approver rejects it, content item should not get deleted.
    Is there any way to achieve this ??
    thanks

    Several things jump out about how you may be using delete.
    First is that delete rights are set up as separate and distinct from Read and Write (contribute) rights. This is true even for content authors.
    There is good reasoning behind this. Basically, because deleting items has special and often regulated meaning, giving users delete permission should be a very intentional action and never a default.
    Second, using the "expiry" functionality is a much better and safer option in most cases. Expiring a piece of content removes it from visibility to all except the sysadmin. Expiring content effectively "soft deletes" the item from the user experience while allowing the administrators to still recover the item if necessary. Another advantage of expiring content rather than deleting it is that as the content approaches the expiry date or as an expiry action is triggered, this can automatically trigger actions like a workflow review, email notification, BPEL service call etc. This gives you advance warning as well as the ability to intercept, review, and sign off on the action. You can also run batch jobs to archive and store or archive / delete "expired" items if you determine that you still need to do this.
    Finally, if you have considered the above options and still determine that you need to capture "delete requests" then the best option is to write a custom component that intercepts the delete service request and triggers a workflow, notification, expiry or other action.
    Remember that when you delete an item you must consider whether or not you are deleting just the latest released revision or all revisions or some selection of revisions. OOTB, UCM allows those with delete permissions to delete revisions one at a time. The repository manager applets provide admins with a bit more batching flexibility.
    Hope that helps,
    Warmly,
    Billy Cripe
    Fishbowl Solutions

  • System should not allow to delete PO line Item after GR/IR

    Hi,
    I am working on a SAP Retail Implementation project.
    Currently the system is allowing us to delete the PO line items after doing GR or IR against that PO line item. But the clients requirement is that the system should not allow to delete PO line item after doing GR/IR.
    We are using Account Assignment Category-N, Item Category-S.
    Please let me know if you have the solution for this requirement.
    Thanks in advance
    Thanks & Regards,
    Suresh

    Hi,
    Standard SAP will not allowed the PO to be deleted once it was GR done. The controlled is on the attributes of message to set as "E"
    Message no. 06115
    But if invoiced takes place, the is the point that PO can be deleted.
    You have to do have a Enhancement using MM06E005, insert you logic here to check PO history tables like EKBE, then check if invoice " Q" (BEWTP) exist, the PO cannot be deleted once the user delete the PO line and SAVE it. Ask you developer to help you on the following coding.
    Use MM06E005 and EXIT_SAPMM06E_012
    IF SY-TCODE = 'ME22N'.
    IF sy-ucomm = 'MESAVE' OR SY-UCOMM = 'YES'..
    LOOP AT TEKPO.
    IF TEKPO-LOEKZ = 'L'.
    SELECT SINGLE BELNR FROM EKBE INTO BELNR1 WHERE EBELN = TEKPO-EBELN AND EBELP = TEKPO-EBELP AND BEWTP = 'E'.
    IF SY-SUBRC = 0.
    SELECT SINGLE BELNR FROM EKBE INTO BELNR2 WHERE EBELN = TEKPO-EBELN AND EBELP = TEKPO-EBELP AND BEWTP = 'Q'.
    IF SY-SUBRC = 0.
    Regards,

  • Disable Delete option but enable edit option for a content item?

    Hi,
    Appreciate your input on this. The portal version being used here is 3.0.9.8.2.
    I would like to have the following privileges setup for a content folder's items.
    - one group can edit and delete items
    - one group can edit but not delete items.
    However looking at the access types available at the folder level - there are only "view only" , "edit style", "manage items", "own folder","create with approval".
    The "manage" privilege is simply a catch all privilege. User can edit, checkin/out and also delete an item.
    How do I prevent a user/group from deleting an item ? (or atleast disable the rendering of the 'X' delete icon?)
    I did experiment with the audit option by enabling version control which is somewhat helpful in that I can preserve the older versions, but like above, I cannot enforce that.
    regards
    -Ananth

    thanks for your answer Mr. Atkinson, that was excatly what I need. This is my code inside the event receiver:
    public override void ListAdded(SPListEventProperties properties)
    SPList list = properties.List;
    list.AllowDeletion = false;
    list.Update();
    but the above code dont have any effect on the list, I have still the Item with DELETE THIS LIST in the listsettings.
    do you know maybe why? or can I also debugg it?
    thanks in advance
    BR
    Ahmad
    SP 2013 & SPD 2013 & VS 2013 & MSSQL 2012

  • Junk mail returns after deleting the item in the "Junk mailbox" and "Trash".  Is there a way to permanently block the sender?

    Junk mail returns after deleting the item in the "Junk mailbox" and "Trash".  Is there a way to permanently block the sender?
    I have deleted the item multiple times both on my Mac mini and my touch and 5 minutes later it is back in my Junk mailbox.  The item will not return to the Junk mailbox until it is deleted from the trash.

    You can create a Rule
    http://email.about.com/od/macosxmailtips/qt/How_to_Block_a_Sender_in_Mac_OS_X_Ma il.htm

  • Editing a previously published content item results in no workflow applied

    Hi,
    We have developed numerous workflows, which are configured as default from New menu configurations.
    We are seeing two issues:
    1) Copying an existing content item, the assigned workflow to the New menu is not applied. This is apparently by design in 11g (did work in 7.x) according to Oracle support. We have raised a product enhancement request
    2) Editing a content item which has passed through its workflow stages and has been published, the previously assigned workflow is not assigned.
    Issue 2) is what we are looking into now. Apparently (again) this is by design.
    Is there a common approach that people are using to resolve this issue, in that editing a previously published content item, those changes will be subject to the original workflow stages before it will be re-published?
    We have heard mentioned of listeners or further stages in the workflow...
    Thanks

    then use SPD to customize the task process to lock them out upon starting and give them rights again upon rejection.
    http://office.microsoft.com/en-us/sharepoint-designer-help/use-the-task-process-editor-for-approval-workflows-HA101863538.aspx
    Please mark my response as an answer if appropriate.
    Learn.SharePoint.com
    Hi
    How was this resolved in the end. I to want to disable editing of document whilst workflow in progress. In SPD how is this achieved?
    Thanks

  • Webservice to delete all revisions of a content item

    Hi,
    I don't see a webservice that explicitly deletes all revisions of a content item. Do I have to create one?
    Thanks!

    DELETE_DOC
    Service that deletes an existing content item revision. The user must have permission to delete the specified revision. The most likely error is when the content item no longer exists in the system.
    Location: <install_dir>/shared/config/resources/std_services.htm
    Additional Required Service Parameters
         • dID: The generated content item revision ID.
    Example
    IdcService=DELETE_DOC
    dID=48
    I created custom wsdl to make this service available via web service.
    This will delete the document and all its revision.

  • The Subsequent Requirm not getting deleted after deleting the Item from P.O

    Hi all
    The Subsequent Requirment for the Material is not getting  cancelled even after deleting the Item from the Purchase Order  and we have even deleted the Requirment for the Top level material . If we click on the Pegging requirment for the Subsequent requirment the system is telling that no Pegging Requirment exists but it is not getting deleted. Waiting for the feed backs

    Kumar,
    Run MRP for the Materials involed and let us know if there are any exception messages.
    Regards,
    Prasobh

  • How to get  log of user's delete action on Content Items?

    Hi all,
    When one user edit a Content Item, we can get the log about this action. But when user delete this content Item, I couldn't find out the log about this action.
    I wonder that WebCenter Content have any function to logging the delete action on Content Items?
    If it have, where I can find it ?
    Thanks a lot!

    If you are strictly interested in just "deletes", you can query the table "DocumentHistory". Basic data like checkin, checkout, update, and delete actions against a document is recorded there, along with the user and date.
    If you need deeper data however, as Srinath noted, Content Tracker is built for those deeper requests.

  • UCM how to clear "Workflow Content Items In Queue"

    Hi
    How to clear "Workflow Content Items In Queue", if i click "Remove item from Queue" under Action also content item is remains in workflow queue.
    How to fix it?
    Thanks
    Deepak

    Hi Srinath,
    I have checked the idc analyze. "check search index" is not running shows error. please check the log file below without selecting "check search index" other three(check database, check file system, generate report) ends with 0 errors. Is there any other solution to clear the workflow items?
    Analyzing tables...
    WARNING: Checking dRevClassID<->dDocName consistency can take several minutes on large repositories!
    Finished checking 47 entries.
    Errors Found: 0
    Errors Fixed: 0
    Analyzing filesystem...
    Finished checking 47 entries.
    Errors Found: 0
    Errors Fixed: 0
    Generate report
    Number of items grouped by: dReleaseState
    Workflow : 4
    Old : 6
    Current : 37
    Number of items grouped by: dStatus
    Edit : 2
    Released : 43
    Review : 2
    Number of items grouped by: dProcessingState
    Converted : 42
    Metadata Only : 5
    Number of items grouped by: dStatus, dReleaseState
    Current and Released : 37
    Workflow and Review : 2
    Old and Released : 6
    Workflow and Edit : 2
    Thanks
    Deepak

Maybe you are looking for

  • Can the role info be passed from portal to ABAP web dynpro application

    Hi, We have some roles in the portal. We call the ABAP web dynpro applications from the portal. Is it possible to pass on the role from the portal to the Web dynpro ABAP application so that we can use this role information in the application. Thanks,

  • PDF to complicated to work with in Illustrator CS5?

    I'm working with a land surveying company that has provided me with a PDF of one of the surveys they've done. I'm pretty sure this was done in a CAD program and saved as a PDF. The PDF is 5.5 MBs large. I'd like to use part of this image as a backgro

  • MDX result contains too many cells - But relese note applied!!!!!!

    Hi experts! When I create a query with my infoview, it retrive me the following error: <ERROR COMPONENT="WIS" ERRORCODE="10901" ERRORTYPE="USER" MESSAGE="Si è verificato un errore del database. Il testo dell'errore del database è: Errore in MDDataSet

  • Embedding Font

    Hi,                   I am embedding the font verdana to a textField. But its not getting worked. Also i have used the linkage to actionscript with the embedding font. The following code i have used for embedding. Can anybody help me by notifying the

  • Faxing from OS X Leopaed 10.5/5.1

    Hi, I am having major problems attempting to use the internal fax modem now on my iBook G4. In the menu bar it goes through dialing .... connecting ..... and then just hangs up. When I go back to sys' prefs' to check the fax and printer set up there