Workflow issue - activity reference not getting deleted.

Hi,
Please help in resolving the following issue.
I have deleted an activity from the workflow diagram and saved it to the database. But while reloading the workflow I am getting an error as follows
1302: Loaded definition was incomplete. Although this definition may be edited and saved, it cannot be run until references to non-existent objects are corrected or the missing objects are added.
1303: Reference to nonexistent activity 'PASS_NH/DISPATCH_FYI_OCS' in process 'PASS_NH/ROOT' step label 'DISPATCH_FYI_OCS'.
Even though I deleted the activity from the workflow diagram it is still retained in the DB in some workflow table.
Please let me know how to resolve this issue. Any help would be greatly appreciated.
I am using Workflow Builder 2.6 and the DB is Oracle9i Enterprise Edition Release 9.2.0.8.0
Regards
Kiran

Well - anything is possible :) If the definition is corrupt in the database, then I would go back to the last working file that you have and then deploy that to the database from the command line using the FORCE option. Then make the changes that you want to, and deploy it again to the database using the command line utility.
You could try forcing the current flat file definition into the database and see if that resolves your problem. Alternatively, you could go for the "nuke 'em all" approach - run WFRMITT.sql and remove the item type completely from the database and then redeploy the version that you changed.
HTH,
Matt
WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
Have you read the blog at http://www.workflowfaq.com/blog ?
WorkflowFAQ support forum: http://forum.workflowfaq.com

Similar Messages

  • Workitem not getting deleted from SAP inbox

    Hi ,
    I have a scenario in workflows , in which when a user creates a timesheet , a mail goes to approver , when the timesheet is approved the mail should get automatically deleted .
    We have created a standard task for this purpose ( a copy of TS31000007)  .
    The business Object is CATS , terminating event is COMPLETED , method is APPROVE . There is no triggereing event a FM is being used .
    The standard task is copied in two test environments , from first system the mail gets automatically deleted , but from the second one it is not getting deleted .
    Also the workflow log in SWEL doesnt show any rows in the second system .
    In the first system , there are 4 steps  in the workflow log :
    Dialog work item created
    Background process started
    terminating event received
    work item processing complete
    Though the workitem has deleted , but the status of the workflow is in Progress
    while the second has only two steps in workflow log
    Dialog work item created
    Background process started
    and the workflow status is "Ready"
    I guess the terminating event in the second case is not getting received .
    but ,I have  checked sweinst and found that the instance linkage is activated .
    Also when the workitem is approved , it does not get delete , and if we try to re execute it again , the gives a msg " NO data found "
    Can someone help me to find why the mail is stuck in the inbox and  correct this problem.
    Thanks
    Sheetal

    Unless and until the Terminating event is triggered the workitem will not disappear. Check how the Event is getting triggered in other system. I feel it is getting triggered by standard means. Check whether there is proper settings in SWEHR3.
    It means that you are not doing any special configuration for event triggering or coding. Please check what is missing in the system you are having problem.  Check SWU3 setting is fine or not.
    <b>Please close thread when issue resolved</b>
    Thanks
    Arghadip
    Message was edited by:
            Arghadip Kar

  • Profile Imanges are not getting deleted from Profile Image library

    Hi,
    If I go mysite and edit my profile and set a profile images and save the changes. Image is uploaded to profile Image library in the root of the mysite.
    I Edit my profile again and this time I remove the profile image and save the changes. Image is not getting deleted from the profile Image library.
    as per my understanding it should get deleted. My site clean job is running. user profile is active in AD.
    Thanks
    Omkar

    My first question would be is it a big deal if the picture doesnt get deleted from the libarary?  My understanding is that the profile picture field is a URL link, the first time you add a picture it will provision 3 copies of differing sizes to the
    library.  When you "remove" the picture, it just empties out the picture URL field.  Which is a nice hidden recovery if someone accidently deletes a profile photo they really wanted (Or if your company really locks down picutures so you only get
    a choice of a couple avatars instead of a personal photo).
    Similar issue:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/17bc8538-568f-4fff-8933-458fdba4b701/delete-user-profile-picture-in-sharepoint-2010-when-account-is-deactivated-or-deleted-from-ad?forum=sharepointadminprevious
    and response:
    Since the user photo library follows certain standards OOB:
    http://iedaddy.com/2010/12/sharepoint-2010photo-management-for-social-mysites/
    I would say just create a small script that will periodically read the UPS and make sure there are no photos sitting in the library not associated to an account... here's an example of accessing the User Profiles w/ Powershell:http://iedaddy.com/2010/06/sharepoint-2010-updating-user-profile-properties-with-powershell/
    You would just modify it to delete image files whose name is not associated to an existing NTName in the UPS.
    ieDaddy
    Blog: http://iedaddy.com
    Twit: @iedaddy

  • Order category BF not getting deleted in APO

    Hi Experts,
    I have a situation where the material is already deleted in ECC (hence no longer existing), but the product is existing in APO and we need to delete this in APO. To do this, we need to delete the dependent orders for that product/location first and then other dependencies.
    There are few orders for the prod/loc as confirmed purchase orders (ord cat BF). These orders are now PP/DS orders with status as PP firmed, output firmed and date fixed.
    I have tried the two programs- /sapapo/rlcdelete and /sapapo/delete_pp_order, but system is not picking up the orders to delete.
    The system shows as message as " No deletion of converted orders in active version"
    As I said earlier, the product is no longer existing in ECC, hence I can not delete the orders from there.
    Is there any other way to achieve this? Is there any BADI to do this in APO?
    Regards
    Manotosh

    Hi
    You can use /SAPAPO/DELETE_PP_ORDER report for deleting these orders.
    Execute the this report, mention all the products for which you want to delete the order and execute it. It might give the message as orders will not get deleted as inactive in APO.
    Go back please enter as DEL_EXECU, in the place where we use to enter the T-codes and enter and than again execute the report. It will delete the orders.
    You can also try /SAPAPO/SDORDER_DEL report.
    Thanks
    Amol

  • Open TRs not getting deleted after TECO production order

    Hi,
    We're having an issue.  We're using WMPP interface to supply the production line for the production orders.  The auto TRs are generated when the production orders are released. 
    After TECO the production orders, the open TRs are not getting deleted automatically.
    Could anyone know if these TRs get deleted automatically when we do the TECO production order?
    If yes, do we have any restriction or condition based on this, the TRs get deleted?
    Please explain.
    Thank you.
    with regards,
    Muthu.

    Hi Abhijit,
    Thank you for your reply.  It does not help me.
    The auto TR creation is happening now as required.  No issue on this.
    When you do the TECO, it also cancels the TRs.  I tested this also. 
    There're some scenario this open TRs cancellation is not happening.  I do not know when these open TRs are not cancelled.  If you know answer for this, please let me know.
    Thank you for your help and time.
    with regards,
    Muthu.

  • Production Reporting out put not getting deleted after 30mins what we set.

    Hi,
    This issue regarding Production Reporting. In the workspace the report output not getting deleted after 30minutes (while publishing the report settings were like delete after 30 mins). Any suggestions please .....
    Thanks
    Venkat

    Hi Deepak,
    Please chek the field / value which u have changed is relavant to  printouts of the change.
    You can check  with following path
    SPRO> MM > Purchasing > Message > Fields Relevant to Printouts of Changes.
    Confirm tick is provided for PO ( P)
    Vivek

  • Aggregation level not getting deleted.

    Hi All ,
    We have deleted the aggregation levels from our development system and captured them in one change request.
    On transporting this request to quality (the transport is going successful) ,the objects are not getting deleted and getting displayed in transport connection and metadata repository.
    Any pointers to delete directly the aggregation levels from quality and production system or to resolve this issue.
    Thanks and Regards
    Rashmi Nair.

    Hi Rashmi,
    Have you deleted all the objects using the aggregation level.
    e.g query, planning function etc.
    -Vikram

  • Spool Requests in Waiting not getting deleted by RSPO0041 or RSPO1041

    Hello Experts,
    We are currently running report RSPO0041 in our system to delete old spool requests, this report is running fine and deleting other spool requests except in status "waiting".
    I have also done test run with RSPO1041, but even though the requests in the status waiting are not getting deleted. The only option I have is to delete it by SPAD.
    The issue I have is that, the output device is not defined for a set of users, due to which their requests are picking up Frontend printing which is not possible which is the cause large number of requests are going in status waiting.
    We are not in a position to define output device for such users. 
    My question here is: Do we have any other option in above reports to include the spool with status waiting?
    Your valuable advice needed. Thanks in advance.
    Regards,
    Amit

    Hi Amit,
    What is the option you are selecting in both of these reports? Make sure you have selected "in processing" and "without output request" in rspo1041 with the corresponding dates, then I am sure it will get deleted.

  • Bpc  install issue : string reference not set to an instance of a string.

    hi
    i am trying to install BPC server in my machine . after giving bw credential i am getting below error
    bpc issue string reference not set to an instance of a string. parameter name s
    does any one came across this?  what might be wrong here?
    please help me

    Hi
    Once you install the ABAP and .NET components, the server manager would be part of your program list. It would be something like SAP->BPC Server 7.0. Click on the server manager and in the server menu you will find 'Diagnostic' option as this would give you a good picture about the installation success post installation.
    During the server manager installatio process, you would be alerted if any of the pre requisite software is not installed on your server machine. Please check the installation guide for detailed steps.
    Thanks,
    Santosh

  • REM tick not getting deleted for Part no

    Dear All ,
    we have one material which had Procurement type " E " ( In-house SFG ) , But now the Part is totally Procured from vendor .
    So the Procurement type is changed to " F " .   So we need to do the Material Master Correction .
    If we Try to delete REM tick from Material Master , Following Message is seen >>>>>>
    Production versions exist for which repetitive manufacturing is allowed
    Message no. M3636
    If Try to delete the REM tick from Production Version , Following Message is seen >>>>>
    Production version 1 or repetitive mfg indicator cannot be deleted
    Message no. KOSA012
    Even the Production Version is not getting deleted .  Following Message is seen >>>>>
    Production version 1 or repetitive mfg indicator cannot be deleted
    How to handle the above issue ?   Please guide . Thanx in advance

    Dear Vasu,
    check after performing these activities,
    Deleting the Production Version
    Use
    The production version contains the technical information on how a material can be manufactured. If this technical method has become outdated, you can delete the production version.
    Prerequisites
    1.You must settle the product cost collector you created for the production version.
    2.No more planned orders exist in the system which are assigned to this production version.
    3.If you work with reporting points in make-to-stock REM, no more work in process (WIP) exists on the production line in question. That is, work in process must be closed in the period-end closing in Cost Object Controlling.
    4.If an inspection lot exists, you must already have made the usage decision for the inspection lot.
    5.For the period in which the last reporting point backflush was carried out and for all previous periods in which the run schedule header or the production version is valid.
    6.the cutoff period is set for the WIP calculation
    7.the cutoff period is set for the variance calculation (operation KVAR)
    Regards
    Mangalraj.S

  • PSA data not getting deleted

    Hello, I have an issue with the data in the PSA table not getting deleted.  I went to the datasource manage screen and deleted all the PSA requests, but the data still remains in the PSA table.   Do you know the reason and how to get rid of the PSA data from the table?
    Thanks.

    You may check if there isn't any inconsistency in the PSA. Happens sometimes.
    There are a few reports to check and repair them, like:
    - SAP_PSA_PARTNO_CORRECT
    - RSAR_PSA_CLEANUP_DIRECTORY_MS (RSAR_PSA_CLEANUP_DIRECTORY_MS if your db is MSSQL)
    Check the following SAP Notes and read them carefully:
    [1150724 - Consolidated note on the check & repair reports for PSA.|https://websmp107.sap-ag.de/sap/support/notes/1150724]
    [1051664 - Check and repair program BW7.x for Note 849857.|https://websmp107.sap-ag.de/sap/support/notes/1051664]
    [1063105 - Program 'RSAR_PSA_CLEANUP_DIRECTORY /_MS'.|https://websmp107.sap-ag.de/sap/support/notes/1063105]

  • Setup tables data not getting deleted for application 11

    Dear Team,
    Trying to delete data from setup tables after completing few fields enhancements
    System triggering following error message and the data is not getting deleted
    Step 001 started (program RMCSBWSETUPDELETE, variant &0000000000010, user ID 00938H744
    Database problems with table MC11VA0ITMSETUP
    Job cancelled after system exception ERROR_MESSAGE
    Please guide
    Thanks,
    Sarasu

    Try to adjust the database tables using SE14 transaction.
    SE!4 --> Enter table name MC11VA0ITMSETUP -->Select radio button "tables" --> click on Edit -->Select processing type "Background" --> Click on "Activate and Adjust database".
    Here before performing the Activate and Adjust database function -- first try to check the data base object (click on check button and select database object --ok) if every thing is ok then proceed with the above steps.
    Next try to delete the setup tables and check.. hope this should work.
    Try to check the logs in SM21 and also check if the data source is active or not before deleting the setup tables.
    Regards
    KP
    Edited by: Konduru Prashanth. on Mar 2, 2012 6:08 PM

  • Message log is not getting deleted in WEBUI (BADI ORDER_SAVE)

    Hi,
    I am displaying an error message based on certain conditions in BADI: ORDER_SAVE (CHECK_BEFORE_SAVE). On getting error, I am correcting that error.
    Using CRM_MESSAGE_DELETE, I am deleting error message before displaying new error message. However, my error log is not going away. It is still displaying in the log in WEBUI.
    Could you please help me out, how can I delete error message, and error log from WEBUI.
    Thanks,
    Sandeep

    I  have the same question as you .
       I  have use folleing code to display message in web ui:
          if (conditions).
          CV_OWN_MESSAGE = 'X'.
          MESSAGE '商机描述已经存在,请修改后再保存!' type 'E' RAISING DO_NOT_SAVE .
        endif.
    but when i have edit the description , the Message log is not getting deleted in WEBUI .
    who can tell me , thanks for all your help !

  • File not getting deleted using File.delete()

    Hi guys,
    I have a code like this:
    File tempdir = new File("tempdir");
    tempdir.mkdir();
    File temporaryFile = new File("tempdir\tempfile.txt");
    FileWriter writer = new FileWriter(temporaryFile);
    // write data into file
    writer.flush();
    writer.close();
    try {
        // Do something
    catch (Exception e) {
        // Do something
    temporaryFile.delete();
    tempdir.delete();The program runs successfully. The directory and the file is created and data is written successfully into it. However, the file as well as directory is not getting deleted at the end of the program. I tried temporaryFile.deleteOnExit(), but this also didn't help.
    Can anyone provide some input as to what can be the possible reasons for the file not getting deleted?
    Thanks..

    I want the file to be created inside the directory I specified. Hence, I put the "\". Please let me know if there is some other way to achieve this. This way I am getting the file created at the location I want.
    One more interesting thing which I noticed. Actually this code is part of a JUnit test. In the same JUnit, I am creating new files in atleast 2-3 test methods. But the deletion of files is really random. Sometimes, 2 out of 3 get deleted, sometimes only 1 gets deleted. However, I didn't come through a single instance wherein all the 3 files got deleted. :-(
    Also, the directory is never deleted. However, I got the reason behind this. As per the File API, the directory will not be deleted if it is not empty.

  • File is not getting deleted in File-RFC-File without BPM

    Hi,
    I'm working on File-RFC-File scenario without BPM. Everything is working fine except file is not getting deleted after the process. I'm passing xml file here and in return it will give the xml success/error message from RFC.
    For the sender CC, I'm passing the following parameters,
    Transsport protocol: File system
    Message protocol: File
    QoS: BE
    Poll Interval: 30 sec
    Mode: Delete
    File type: Binay
    Please let me know if I missed anything while passing the values.
    Thanks,
    Swamy
    Edited by: Swamy Mothe on Jun 15, 2009 8:52 AM

    Hi
    Then , is Sender and receiver File Adapter is using same folder )
    Just a question.
    But having all permisions and above config would delete the file
    can u see the status of u r File Adapter in RWB.? Is it in green?
    rgds
    srini

Maybe you are looking for